Skip to content

Commit 1d8c3e7

Browse files
committed
fixs
1 parent a470eb8 commit 1d8c3e7

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

tests/test_webauthn.py

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,7 @@ async def test_sign_in_finish(self):
374374
timeout=DEFAULT_TIMEOUT_SECONDS,
375375
)
376376
self.assertIsNotNone(
377-
await futu_await(webauthn.sign_up_finish("t01", "response01"))
377+
await futu_await(webauthn.sign_in_finish("t01", "response01"))
378378
)
379379

380380
async def test_sign_up_or_in_start(self):
@@ -542,9 +542,7 @@ async def test_update_finish(self):
542542
with mock_http_call(self.async_test, "post") as mock_post:
543543
mock_post.return_value.is_success = False
544544
with self.assertRaises(AuthException):
545-
await futu_await(
546-
webauthn.update_finish("t01", "response01")
547-
)
545+
await futu_await(webauthn.update_finish("t01", "response01"))
548546

549547
# Test success flow
550548
with mock_http_call(self.async_test, "post") as mock_post:
@@ -572,7 +570,7 @@ async def test_update_finish(self):
572570
timeout=DEFAULT_TIMEOUT_SECONDS,
573571
)
574572
self.assertIsNotNone(
575-
await futu_await(webauthn.sign_up_finish("t01", "response01"))
573+
await futu_await(webauthn.update_finish("t01", "response01"))
576574
)
577575

578576

0 commit comments

Comments
 (0)