Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

replace regular assertions with unittestzero

  • Loading branch information...
commit 238e52b1949ae8af590c481a27c77fa8e5b18b42 1 parent fef251a
@klrmn authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 tests/test_manage_runs_page.py
View
6 tests/test_manage_runs_page.py
@@ -60,8 +60,8 @@ def test_edit_existing_run_that_includes_suites(self, mozwebqa_logged_in):
# not yet deployed to stage
# assert edit_run_pg.product_version == run['product_version']
- assert suite1['name'] in edit_run_pg.included_suite_names
- assert suite2['name'] in edit_run_pg.available_suite_names
+ Assert.contains(suite1['name'], edit_run_pg.included_suite_names)
+ Assert.contains(suite2['name'], edit_run_pg.available_suite_names)
# add suite2 to the run
edit_run_pg.add_suite(suite2['name'])
@@ -75,7 +75,7 @@ def test_edit_existing_run_that_includes_suites(self, mozwebqa_logged_in):
edit_run_pg = runs[0].edit()
expected = [suite2['name'], suite1['name']]
actual = edit_run_pg.included_suite_names
- assert actual == expected
+ Assert.equal(actual, expected)
# teardown
self.delete_run(mozwebqa_logged_in, run)
Please sign in to comment.
Something went wrong with that request. Please try again.