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!
The two tests
test_get_snippetandtest_missing_snippetare both failing even though the application is actually working.The
test_get_snippettest case if failing because it attempts to access a snippet namediexistbut no such snippet actually exist inside of the storage.The
test_missing_snippettest case if failing because it attempts to access a snippet namedidontexistthat 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!