diff options
author | Kenneth Skovhede <kenneth@hexad.dk> | 2017-02-13 15:29:58 +0300 |
---|---|---|
committer | Kenneth Skovhede <kenneth@hexad.dk> | 2017-02-13 15:29:58 +0300 |
commit | 98111c5ebaa50bca89c8f84d4f6e1aeb74596ac4 (patch) | |
tree | 1f7e2585a98fbdadbed43502a643ca908744e27c /guiTests | |
parent | e4d8058cd31f4a50aac17817a86d186b102c5144 (diff) |
Python PEP style fixes
Diffstat (limited to 'guiTests')
-rw-r--r-- | guiTests/guiTest.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/guiTests/guiTest.py b/guiTests/guiTest.py index 7a3ef1846..7a91c903f 100644 --- a/guiTests/guiTest.py +++ b/guiTests/guiTest.py @@ -10,7 +10,7 @@ from selenium.webdriver.support.ui import WebDriverWait from selenium.webdriver.support import expected_conditions if "TRAVIS_BUILD_NUMBER" in os.environ: - if not "SAUCE_USERNAME" in os.environ: + if "SAUCE_USERNAME" not in os.environ: print "No sauce labs login credentials found. Stopping tests..." sys.exit(0) @@ -89,7 +89,7 @@ time.sleep(5) driver.implicitly_wait(10) driver.get("http://localhost:8200/ngax/index.html") -if not "Duplicati" in driver.title: +if "Duplicati" not in driver.title: raise Exception("Unable to load duplicati GUI!") # Create and hash random files in the source folder |