mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-02-05 22:58:21 +00:00
Really ought to get a pre-commit hook for pep8...
This commit is contained in:
@@ -225,7 +225,7 @@ class TestEventCreate(BaseRigboardTest):
|
|||||||
self.assertFalse(self.page.success)
|
self.assertFalse(self.page.success)
|
||||||
self.assertIn("access time cannot be after the event has started.", self.page.errors["General form errors"][0])
|
self.assertIn("access time cannot be after the event has started.", self.page.errors["General form errors"][0])
|
||||||
|
|
||||||
#Fix it
|
# Fix it
|
||||||
self.page.access_at = datetime.datetime(2020, 1, 1, 10)
|
self.page.access_at = datetime.datetime(2020, 1, 1, 10)
|
||||||
|
|
||||||
# Should work
|
# Should work
|
||||||
|
|||||||
Reference in New Issue
Block a user