diff options
author | Frederick Muriuki Muriithi | 2023-07-10 11:36:47 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2023-07-10 11:36:47 +0300 |
commit | c6ac30d4ccc26553a12e8c37cdf9078cbe9084b3 (patch) | |
tree | a40cea1c2b129e0e37b70d42c6f87fe51a5ec178 /tests/unit/auth/test_roles.py | |
parent | edebea34ac6545909737ce9540e9d51858550873 (diff) | |
download | genenetwork3-migrate-to-python3.10.tar.gz |
Fix linting errors caused by bump to Python 3.10migrate-to-python3.10
Diffstat (limited to 'tests/unit/auth/test_roles.py')
-rw-r--r-- | tests/unit/auth/test_roles.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/unit/auth/test_roles.py b/tests/unit/auth/test_roles.py index 02fd9f7..3bb84a3 100644 --- a/tests/unit/auth/test_roles.py +++ b/tests/unit/auth/test_roles.py @@ -16,7 +16,9 @@ create_role_failure = { "message": "Unauthorised: Could not create role" } -uuid_fn = lambda : uuid.UUID("d32611e3-07fc-4564-b56c-786c6db6de2b") +def uuid_fn(): + """UUID function for tests""" + return uuid.UUID("d32611e3-07fc-4564-b56c-786c6db6de2b") PRIVILEGES = ( Privilege("group:resource:view-resource", |