added functional_tests to installed apps in core.settings (but only when debug is true); created management dir to contain new django cmds & listed in .dockerignore; created management.create_session cmd; recreated container.db.sqlite3; tweaked test_server setup in functional_tests.base; added test_server failsafe to magic link login testing in .test_login
This commit is contained in:
@@ -21,6 +21,9 @@ class LoginTest(FunctionalTest):
|
||||
)
|
||||
)
|
||||
|
||||
if self.test_server:
|
||||
return
|
||||
|
||||
email = mail.outbox.pop()
|
||||
self.assertIn(TEST_EMAIL, email.to)
|
||||
self.assertEqual(email.subject, SUBJECT)
|
||||
|
||||
Reference in New Issue
Block a user