diff options
author | Frederick Muriuki Muriithi | 2023-08-23 09:12:07 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2023-08-23 09:13:02 +0300 |
commit | 8d35e0413fa670ef4fc08e7262a12c43b89df6fc (patch) | |
tree | dd6bbc1f13a5a241f28f8507a659de1d3474af24 /tests/unit/auth/conftest.py | |
parent | 277297d9a804e09137493bd9e1613df94f154dc0 (diff) | |
download | gn-auth-8d35e0413fa670ef4fc08e7262a12c43b89df6fc.tar.gz |
pylint: Replace `lambda ...` statements with `def ...`
Diffstat (limited to 'tests/unit/auth/conftest.py')
-rw-r--r-- | tests/unit/auth/conftest.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/unit/auth/conftest.py b/tests/unit/auth/conftest.py index facfb81..7f9d42d 100644 --- a/tests/unit/auth/conftest.py +++ b/tests/unit/auth/conftest.py @@ -22,3 +22,7 @@ def get_tokeniser(user): }[user.user_id] return __token__ + +def uuid_fn(): + """Return a specific UUID for testing.""" + return uuid.UUID("d32611e3-07fc-4564-b56c-786c6db6de2b") |