You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I created a simple Salmon project. How can I run the unit tests? Running python setup.py test requires directories run/undeliverable and logs to be present and it writes something there. I would have thought that these were for actual production use, not for unit tests. Why do the unit tests mutate the state of these directories/files?
The text was updated successfully, but these errors were encountered:
If it gets written to in production, it gets written to in tests unless explicitly configured otherwise. You can put import_settings(True, boot_module='config.testing') somewhere in your test suite setup to configure Salmon not to write to those directories if you prefer.
I created a simple Salmon project. How can I run the unit tests? Running
python setup.py test
requires directoriesrun/undeliverable
andlogs
to be present and it writes something there. I would have thought that these were for actual production use, not for unit tests. Why do the unit tests mutate the state of these directories/files?The text was updated successfully, but these errors were encountered: