Skip to content

test_client.py: tests interfere with each other #8

@Frosty2500

Description

@Frosty2500

Currently tests are interfering with each other, so you sometimes need to restart the server after having run tests so others work.
For example after calling test_delete_submodel() the test test_level() will always fail, since the submodel it is trying to GET was deleted.
A solution could be using unittest.mock.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions