mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-08 23:04:15 +00:00
improve tests cleanup
This commit is contained in:
@@ -32,7 +32,8 @@ def clean(path):
|
||||
def get_string(length):
|
||||
"""Get a random string of length 'length'"""
|
||||
alpha = string.ascii_uppercase + string.digits
|
||||
return ''.join(random.choice(alpha) for _ in range(length))
|
||||
temp = ''.join(random.choice(alpha) for _ in range(length))
|
||||
return 'dotdrop-tests-{}'.format(temp)
|
||||
|
||||
|
||||
def get_tempdir():
|
||||
|
||||
Reference in New Issue
Block a user