Skip to content

Tests are failing but the application works #5

@Julien00859

Description

@Julien00859

The two tests test_get_snippet and test_missing_snippet are both failing even though the application is actually working.

The test_get_snippet test case if failing because it attempts to access a snippet named iexist but no such snippet actually exist inside of the storage.

The test_missing_snippet test case if failing because it attempts to access a snippet named idontexist that shouldn't exist inside of the storage and it verifies that the web application return a 404 Page not Found error... but the snippet actually exists inside of the storage so it downloads it wth a 200 - Ok http response.

The tests should not run using the actual, production, file-system storage!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions