Age | Commit message (Collapse) | Author | |
---|---|---|---|
2022-10-28 | Refactor: Pass user id to `check_resource_availability` | Frederick Muriuki Muriithi | |
* Pass the user_id for the current user to the `check_resource_availability` function as an argument, rather than using the global `g.user_session.user_id` value. | |||
2021-04-30 | autopep8: Fix E301,E302,E303,E304,E305,E306 | BonfaceKilz | |
2021-03-16 | Fixed test_check_resource_availability_of_super_user to account for user_id ↵ | zsloan | |
being returned as bytes instead of a str | |||
2021-02-19 | Fixed TestCheckResourceAvailability to make it work after realizing that ↵ | zsloan | |
Redis.smembers apparently returns values as bytes | |||
2021-02-19 | Patched utility.authentication_tools.g as TestUserSession because otherwise ↵ | zsloan | |
the str.encode failed on the mock.Mock() object, and this also seems consistent with the way it's done in a later method | |||
2021-01-06 | refactor tests and pep8 formatting | Alexanderkabui | |
2021-01-06 | add tests for type checking | Alexanderkabui | |
2020-11-03 | Remove encoding header for file | BonfaceKilz | |
In python3 the default encoding is utf-8 so this is redundant. | |||
2020-11-03 | Separate unittests from integration tests | BonfaceKilz | |