From 023d63cd73dc0699bac5024ebc56a20183d8bbf9 Mon Sep 17 00:00:00 2001 From: Arona Jones Date: Sun, 24 Jan 2021 21:54:01 +0000 Subject: [PATCH] Lets try this --- .github/workflows/django.yml | 6 ++++++ PyRIGS/tests/regions.py | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/django.yml b/.github/workflows/django.yml index eec2444d..cb6d284f 100644 --- a/.github/workflows/django.yml +++ b/.github/workflows/django.yml @@ -23,6 +23,12 @@ jobs: uses: actions/setup-python@v2 with: python-version: ${{ matrix.python-version }} + - name: Force Locale + run: | + export TZ=Europe/London + export LANG=en_GB.UTF-8 + export LC_ALL=en_GB.UTF-8 + export LANGUAGE=en_GB.UTF-8 - name: Setup Chromedriver run: | wget https://chromedriver.storage.googleapis.com/2.36/chromedriver_linux64.zip diff --git a/PyRIGS/tests/regions.py b/PyRIGS/tests/regions.py index bcb7501d..04e46dd6 100644 --- a/PyRIGS/tests/regions.py +++ b/PyRIGS/tests/regions.py @@ -1,6 +1,6 @@ from pypom import Region from django.utils import timezone -from django.conf import settings +import PyRIGS.settings from selenium.webdriver.common.by import By from selenium.webdriver.support import expected_conditions from selenium.webdriver.remote.webelement import WebElement