Fix autoadmin tests

Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com>
This commit is contained in:
Roberto Rosario
2019-08-29 23:51:57 -04:00
parent f8eda67bd5
commit 4b3ab82ee2
2 changed files with 3 additions and 1 deletions

View File

@@ -3,5 +3,5 @@ from __future__ import unicode_literals
TEST_ADMIN_USER_EMAIL = 'testemail@example.com'
TEST_ADMIN_USER_PASSWORD = 'test admin user password'
TEST_ADMIN_USER_USERNAME = 'test_admin_user_username'
TEST_FIRST_TIME_LOGIN_TEXT = 'First time login'
TEST_FIRST_TIME_LOGIN_TEXT = 'Automatic credentials'
TEST_MOCK_VIEW_TEXT = 'mock view text'

View File

@@ -10,6 +10,8 @@ from ..models import AutoAdminSingleton
class AutoAdminManagementCommandTestCase(BaseTestCase):
create_test_case_user = False
def setUp(self):
super(AutoAdminManagementCommandTestCase, self).setUp()
with mute_stdout():