Skip to content

Commit

Permalink
Update test_api_generator.py
Browse files Browse the repository at this point in the history
typo 53 -> 53
  • Loading branch information
vyomakesh09 authored Dec 24, 2023
1 parent 9cd0337 commit 51b3033
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/test_api_generator.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def test_generate_api_key_default():
api_key = generate_api_key()
assert isinstance(api_key, str)
assert api_key.startswith("sk-")
assert len(api_key) == 52 # Prefix (3) + 50 random characters
assert len(api_key) == 53 # Prefix (3) + 50 random characters


def test_generate_api_key_custom_length():
Expand Down

0 comments on commit 51b3033

Please sign in to comment.