Skip to content

Test for create auth endpoint #27

@nicole-mcg

Description

@nicole-mcg

A test should be created for the CreateAuthEndpoint class in file_server/web/endpoints/createauth.py. The test should create an auth with the endpoint and verify it with Account.is_valid_auth

You can create a test server for endpoints with create_test_server in file_server/util/test_util.py
An example test can be found at file_server/web/endpoints/__test__/test_directory_contents.py

Test naming conventions: https://pytest.readthedocs.io/en/reorganize-docs/new-docs/user/naming_conventions.html

Metadata

Metadata

Assignees

No one assigned

    Labels

    back endPythongood first issueGood for newcomersstructureThis will make something more clear and less prone to programming errors

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions