mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-02-16 19:49:41 +00:00
Cleanup testing
This commit is contained in:
@@ -19,6 +19,8 @@ def parse_bool_from_string(string):
|
||||
return False
|
||||
|
||||
# 12-Hour vs 24-Hour Time. Affects widget display
|
||||
|
||||
|
||||
def get_time_format():
|
||||
# Default
|
||||
time_format = "%H:%M"
|
||||
|
||||
@@ -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,7 +231,6 @@ 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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user