Cleanup testing

This commit is contained in:
2020-05-27 15:48:56 -04:00
parent f69365a0fb
commit 26f48c7ef4
3 changed files with 4 additions and 5 deletions

View File

@@ -23,8 +23,6 @@ from django.test.client import Client
from django.core import mail, signing
from django.http import HttpResponseBadRequest
from django.conf import settings
import sys
@screenshot_failure_cls
class BaseRigboardTest(AutoLoginTest):
@@ -233,8 +231,7 @@ class TestEventCreate(BaseRigboardTest):
self.page.person_selector.set_option(self.client.name, True)
self.page.person_selector.toggle()
self.assertFalse(self.page.person_selector.is_open)
print("Language: " + self.driver.execute_script("return window.navigator.userLanguage || window.navigator.language;"), file=sys.stderr)
self.page.name = "Access Validation Test"
self.page.start_date = datetime.date(2020, 1, 1)