Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Find a better solution to detect if a test is running #47

Closed
hagsteel opened this issue Mar 18, 2015 · 1 comment
Closed

Find a better solution to detect if a test is running #47

hagsteel opened this issue Mar 18, 2015 · 1 comment

Comments

@hagsteel
Copy link
Owner

Currently using sys.argv to check if 'test' is present.

This is a bad solution

@hagsteel
Copy link
Owner Author

hagsteel commented Apr 2, 2015

To enable test mode either call swampdragon.testing.test_mode.set_test_mode() or set SWAMPDRAGON_TESTMODE = True in settings.

This is available in SwampDragon 0.4.2

@hagsteel hagsteel closed this as completed Apr 2, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant