Skip to content
This repository has been archived by the owner on Aug 20, 2018. It is now read-only.

Commit

Permalink
fixing pep8 issues.
Browse files Browse the repository at this point in the history
  • Loading branch information
Glenn Howard committed Sep 17, 2012
1 parent 0b775fa commit 954d07a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions pages/header_region.py
Expand Up @@ -7,6 +7,7 @@
from selenium.webdriver.common.by import By
from page import Page


class HeaderRegion(Page):

_page_locator = (By.CSS_SELECTOR, '#ca-nstab-main a')
Expand Down
3 changes: 2 additions & 1 deletion tests/test_search_results.py
Expand Up @@ -44,4 +44,5 @@ def test_search_term_returmed_and_matched(self, mozwebqa):
Assert.equal(search_results_pg.main_search_box_text, SearchResultsPage._search_term, "Main Search field should contain the term searched - " + SearchResultsPage._search_term)

for matchedTerm in search_results_pg.get_matched_search_term_in_results:
Assert.equal(matchedTerm.text.lower(), SearchResultsPage._search_term.lower(), "Search term was not found in matched result. Expected: " + SearchResultsPage._search_term + " but got: " + matchedTerm.text)
Assert.equal(matchedTerm.text.lower(), SearchResultsPage._search_term.lower(), "Search term was not found in matched result. Expected: " + SearchResultsPage._search_term + " but got: " + matchedTerm.text)

0 comments on commit 954d07a

Please sign in to comment.