Skip to content
This repository has been archived by the owner on Dec 22, 2021. It is now read-only.

test_file_handline test is broken #3

Open
msgmaxim opened this issue May 17, 2021 · 1 comment
Open

test_file_handline test is broken #3

msgmaxim opened this issue May 17, 2021 · 1 comment

Comments

@msgmaxim
Copy link

While this test passes if the local database is set up accordingly (according to @hjubb), a simple test like that shouldn't be sensitive to the environment in which it is run or require any manual setup. An in-memory database with a setup done in code before the test is run would make a lot more sense.

@msgmaxim
Copy link
Author

msgmaxim commented Jun 9, 2021

So the test required the database to removed and re-generated by the test. #9 changes the tests to use an in-memory database, so these kind of issues don't happen in the future.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant