-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Labels
back endPythonPythongood first issueGood for newcomersGood for newcomersstructureThis will make something more clear and less prone to programming errorsThis will make something more clear and less prone to programming errors
Description
A test should be created for the user endpoint.
This test will require the create_object function in file_server/util to create the objects the function needs. There is an example of this function's usage in file_server/web/endpoints/__test__/test_active_clients.py
Tests:
- Verify response has
"error"key and value is"Needs auth" - Verify
nameandrefresh_ratekeys in response are correct and there are no extra keys
An example test can be found at file_server/file/__test__/test_snapshot.py
Test naming conventions: https://pytest.readthedocs.io/en/reorganize-docs/new-docs/user/naming_conventions.html
Metadata
Metadata
Assignees
Labels
back endPythonPythongood first issueGood for newcomersGood for newcomersstructureThis will make something more clear and less prone to programming errorsThis will make something more clear and less prone to programming errors