Skip to content

Commit

Permalink
Update test_main.py
Browse files Browse the repository at this point in the history
sửa nốt nèeee

Co-authored-by: Serious-senpai <[email protected]>
  • Loading branch information
phuclongdao2 and Serious-senpai authored Oct 4, 2024
1 parent c25922e commit eb001ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -231,7 +231,7 @@ def test_register_fail(

@pytest.mark.parametrize("pass_i", range(13))
@pytest.mark.parametrize("fail_i", range(13))
def test_register_username_taken(pass_i: int, fail_i: int) -> None:
def test_register_username_taken(get_client: TestClient, pass_i: int, fail_i: int) -> None:
taken_username = []
for iterations in range(1, pass_i + 2):
name = f"test-{random_string(random.randint(1, 69))}"
Expand Down

0 comments on commit eb001ac

Please sign in to comment.