Skip to content
This repository has been archived by the owner on Apr 4, 2023. It is now read-only.

Random xml files appear after running tests #322

Closed
cmc333333 opened this issue Oct 27, 2016 · 0 comments · Fixed by #323
Closed

Random xml files appear after running tests #322

cmc333333 opened this issue Oct 27, 2016 · 0 comments · Fixed by #323

Comments

@cmc333333
Copy link
Member

After running py.test, I see a handful of new xml files in my current directory. It looks like they're created in tests/test_web_api.py. I'm betting we just need to clear the files from Django storage at the end of the test (or use an in-memory storage, if that exists).

cmc333333 added a commit to cmc333333/regulations-parser that referenced this issue Oct 27, 2016
This resolves eregs#322 by deleting the file storage directory after each
test
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant