mozreview: fix pep8 error for use of semicolon (
bug 1232700); r?smacleod
This fixes the following error:
E703 statement ends with a semicolon
MozReview-Commit-ID: 4mwt3POJYvP
--- a/pylib/mozreview/mozreview/tests/test-import-pullrequest.py
+++ b/pylib/mozreview/mozreview/tests/test-import-pullrequest.py
@@ -35,17 +35,17 @@ class ImportPullrequestTest(MozReviewWeb
raise
def test_import_pullrequest(self):
self.reviewboard_login('mjane@example.com', 'password2')
self.load_rburl('import-pullrequest/dminor/gecko-dev/1')
btn = self.browser.find_element_by_id(
- 'mozreview-import-pullrequest-trigger');
+ 'mozreview-import-pullrequest-trigger')
btn.click()
# Clicking the button should display the activity indicator
element = WebDriverWait(self.browser, 3).until(
EC.visibility_of_element_located((By.ID, "activity-indicator"))
)
try:
self.assertTrue('Error' not in element.text)
@@ -63,17 +63,17 @@ class ImportPullrequestTest(MozReviewWeb
# Autoland should create the bug for us.
bug = self.bugzilla().client.get(1)
self.assertTrue('A pullrequest' in bug.summary)
# It is possible to import a pull request again.
self.load_rburl('import-pullrequest/dminor/gecko-dev/1')
btn = self.browser.find_element_by_id(
- 'mozreview-import-pullrequest-trigger');
+ 'mozreview-import-pullrequest-trigger')
btn.click()
WebDriverWait(self.browser, 10).until(
lambda x: 'bz://1/' in self.browser.title)
# Autoland should reuse the existing bug for this pull request.
with self.assertRaises(KeyError):
self.bugzilla().client.get(2)