Skip to content

Commit e6752fd

Browse files
author
yamaszone
committed
Fixed incorrect assertions;adds comments; renames test fuctions
1 parent 83aafac commit e6752fd

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

python/bdd/features/search.feature

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@ Scenario Outline: Assert search works
88
Examples:
99
| url | keyword | expected |
1010
| http://www.google.com | Mazedur Rahman | Mazedur Rahman |
11+
| http://www.google.com | black panther | Qblack panther |

python/selenium/test_demo_selenium_webdriver_using_phantomjs.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ class TestSeleniumUsingPhantomJS(unittest.TestCase):
99
def setUp(self):
1010
self.driver = webdriver.PhantomJS()
1111

12-
def test_page_title_exists(self):
12+
def _test_page_title_exists(self):
1313
self.driver.get('http://ieeexplore.ieee.org/')
1414

1515
assert "IEEE Xplore Digital Library" in self.driver.title

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
### Dependencies ###
22
behave >= 1.2.5 # BDD framework
33
coverage >= 3.7.1 # Python code coverage
4-
ddt # Python code coverage
4+
ddt # Python data driven test library
55
nose >= 1.3.6 # Test runner
66
pexpect # Pexpect allows easier control of interactive console applications
77
selenium # Selenium WebDriver

0 commit comments

Comments
 (0)