Skip to content

Commit

Permalink
Merge pull request #20 from vyomakesh09/patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
kyegomez authored Dec 24, 2023
2 parents 3d3ad40 + 84b5710 commit ca83175
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 ca83175

Please sign in to comment.