mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-21 15:32:14 +00:00
Damn you pep8!
This commit is contained in:
@@ -24,17 +24,18 @@ def parse_bool_from_string(string):
|
|||||||
def get_time_format():
|
def get_time_format():
|
||||||
# Default
|
# Default
|
||||||
time_format = "%H%M"
|
time_format = "%H%M"
|
||||||
if settings.CI: # The CI is American
|
if settings.CI: # The CI is American
|
||||||
time_format = "%I%M%p"
|
time_format = "%I%M%p"
|
||||||
return time_format
|
return time_format
|
||||||
|
|
||||||
|
|
||||||
def get_date_format():
|
def get_date_format():
|
||||||
date_format = "%d%m%Y"
|
date_format = "%d%m%Y"
|
||||||
if settings.CI: # And try as I might I can't stop it being so
|
if settings.CI: # And try as I might I can't stop it being so
|
||||||
date_format = "%m%d%Y"
|
date_format = "%m%d%Y"
|
||||||
return date_format
|
return date_format
|
||||||
|
|
||||||
|
|
||||||
class BootstrapSelectElement(Region):
|
class BootstrapSelectElement(Region):
|
||||||
_main_button_locator = (By.CSS_SELECTOR, 'button.dropdown-toggle')
|
_main_button_locator = (By.CSS_SELECTOR, 'button.dropdown-toggle')
|
||||||
_option_box_locator = (By.CSS_SELECTOR, 'ul.dropdown-menu')
|
_option_box_locator = (By.CSS_SELECTOR, 'ul.dropdown-menu')
|
||||||
|
|||||||
Reference in New Issue
Block a user