From aa51ce7861ebeddf177c44d928293b637863af97 Mon Sep 17 00:00:00 2001 From: Arona Jones Date: Fri, 29 Jan 2021 18:45:16 +0000 Subject: [PATCH] Screw you codestyle --- PyRIGS/tests/pages.py | 2 +- PyRIGS/tests/regions.py | 1 + conftest.py | 3 ++- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/PyRIGS/tests/pages.py b/PyRIGS/tests/pages.py index 98673df6..dec5e20e 100644 --- a/PyRIGS/tests/pages.py +++ b/PyRIGS/tests/pages.py @@ -83,4 +83,4 @@ class animation_is_finished(): if finished: import time time.sleep(0.1) - return finished \ No newline at end of file + return finished diff --git a/PyRIGS/tests/regions.py b/PyRIGS/tests/regions.py index f7ddbe28..828b9492 100644 --- a/PyRIGS/tests/regions.py +++ b/PyRIGS/tests/regions.py @@ -8,6 +8,7 @@ from selenium.webdriver.common.keys import Keys from selenium.webdriver.support import expected_conditions from selenium.webdriver.support.select import Select + def parse_bool_from_string(string): # Used to convert from attribute strings to boolean values, written after I found this: # >>> bool("false") diff --git a/conftest.py b/conftest.py index bc41506e..a496a78b 100644 --- a/conftest.py +++ b/conftest.py @@ -1,8 +1,9 @@ from django.conf import settings import django + def pytest_configure(): settings.PASSWORD_HASHERS = ( - 'django.contrib.auth.hashers.MD5PasswordHasher', + 'django.contrib.auth.hashers.MD5PasswordHasher', ) django.setup()