From 011ccb6f4b7e7ad02767a2045d9bf4ad56febf79 Mon Sep 17 00:00:00 2001 From: David Burns Date: Thu, 7 Jul 2016 22:20:32 +0100 Subject: [PATCH] Bug 1285240: Update tests to prevent redefinitions r=ato The tests had the same name which caused a redefinition meaning only one of the tests was run. MozReview-Commit-ID: LuflhcD4wKl --HG-- extra : rebase_source : 09b233c42cd0dba4437f51dc63986c119711cd70 --- .../harness/marionette/tests/unit/test_element_retrieval.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testing/marionette/harness/marionette/tests/unit/test_element_retrieval.py b/testing/marionette/harness/marionette/tests/unit/test_element_retrieval.py index 42d3c0c1f16a..d1065b16cb76 100644 --- a/testing/marionette/harness/marionette/tests/unit/test_element_retrieval.py +++ b/testing/marionette/harness/marionette/tests/unit/test_element_retrieval.py @@ -147,7 +147,7 @@ class TestFindElementHTML(MarionetteTestCase): self.assertRaises(NoSuchElementException, self.marionette.find_element, By.TAG_NAME, "cheese") self.assertRaises(NoSuchElementException, self.marionette.find_element, By.XPATH, "cheese") - def test_not_found(self): + def test_not_found_from_element(self): self.marionette.set_search_timeout(0) self.marionette.navigate(id_html) el = self.marionette.find_element(By.ID, "foo") @@ -160,7 +160,7 @@ class TestFindElementHTML(MarionetteTestCase): self.assertRaises(NoSuchElementException, el.find_element, By.TAG_NAME, "cheese") self.assertRaises(NoSuchElementException, el.find_element, By.XPATH, "cheese") - def test_not_found_implicit_wait(self): + def test_not_found_implicit_wait_from_element(self): self.marionette.set_search_timeout(50) self.marionette.navigate(id_html) el = self.marionette.find_element(By.ID, "foo")