Skip to content

Commit

Permalink
Simplify get_random_string
Browse files Browse the repository at this point in the history
  • Loading branch information
kinuax committed May 7, 2024
1 parent ad884c7 commit dd97384
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@


def get_random_string() -> str:
return "asdf"
seed = string.ascii_letters + string.digits
return "".join(random.sample(seed, len(seed)))

0 comments on commit dd97384

Please sign in to comment.