Screw you codestyle

This commit is contained in:
2021-01-29 18:45:16 +00:00
parent cdc8635e2f
commit aa51ce7861
3 changed files with 4 additions and 2 deletions

View File

@@ -8,6 +8,7 @@ from selenium.webdriver.common.keys import Keys
from selenium.webdriver.support import expected_conditions from selenium.webdriver.support import expected_conditions
from selenium.webdriver.support.select import Select from selenium.webdriver.support.select import Select
def parse_bool_from_string(string): def parse_bool_from_string(string):
# Used to convert from attribute strings to boolean values, written after I found this: # Used to convert from attribute strings to boolean values, written after I found this:
# >>> bool("false") # >>> bool("false")

View File

@@ -1,8 +1,9 @@
from django.conf import settings from django.conf import settings
import django import django
def pytest_configure(): def pytest_configure():
settings.PASSWORD_HASHERS = ( settings.PASSWORD_HASHERS = (
'django.contrib.auth.hashers.MD5PasswordHasher', 'django.contrib.auth.hashers.MD5PasswordHasher',
) )
django.setup() django.setup()