From edab48cab16edfa24c1fbd8ebe3fd18eff5c875f Mon Sep 17 00:00:00 2001 From: Arona Date: Wed, 27 May 2020 16:31:29 -0400 Subject: [PATCH] Try to set Travis's TZ to London, instead --- .travis.yml | 3 +++ RIGS/tests/test_functional.py | 3 ++- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 5791642b..eaea5a88 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,6 +5,9 @@ cache: pip addons: chrome: stable + +before_install: + - export TZ=Europe/London install: - | diff --git a/RIGS/tests/test_functional.py b/RIGS/tests/test_functional.py index ef167412..c1094bda 100644 --- a/RIGS/tests/test_functional.py +++ b/RIGS/tests/test_functional.py @@ -24,6 +24,7 @@ from django.core import mail, signing from django.http import HttpResponseBadRequest from django.conf import settings + @screenshot_failure_cls class BaseRigboardTest(AutoLoginTest): def setUp(self): @@ -231,7 +232,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) - + self.page.name = "Access Validation Test" self.page.start_date = datetime.date(2020, 1, 1)