Bug 1325079 - Delete unused test_certificates.py; r?whimboo
The test was accidentally committed at some earlier
point (hard to research due to hg not tracking file
renamings) and the functionality is sufficiently tested by
testing/marionette/harness/marionette_harness/tests/unit/test_navigation.py:170.
MozReview-Commit-ID: D0lAAGDm22z
deleted file mode 100644
--- a/testing/marionette/harness/marionette_harness/tests/unit/test_certificates.py
+++ /dev/null
@@ -1,34 +0,0 @@
-# This Source Code Form is subject to the terms of the Mozilla Public
-# License, v. 2.0. If a copy of the MPL was not distributed with this
-# file, You can obtain one at http://mozilla.org/MPL/2.0/.
-
-from marionette_driver.errors import UnknownException
-
-from marionette_harness import MarionetteTestCase, skip
-
-
-class TestCertificates(MarionetteTestCase):
-
- @skip("Bug 1325079")
- def test_block_insecure_sites(self):
- self.marionette.delete_session()
- self.marionette.start_session()
-
- self.marionette.navigate(self.fixtures.where_is("test.html", on="http"))
- self.assertIn("http://", self.marionette.get_url())
- with self.assertRaises(UnknownException):
- self.marionette.navigate(self.fixtures.where_is("test.html", on="https"))
-
- @skip("Bug 1325079")
- def test_accept_all_insecure(self):
- self.marionette.delete_session()
- self.marionette.start_session({"desiredCapability": {"acceptSslCerts": ["*"]}})
- self.marionette.navigate(self.fixtures.where_is("test.html", on="https"))
- self.assertIn("https://", self.marionette.url)
-
- @skip("Bug 1325079")
- def test_accept_some_insecure(self):
- self.marionette.delete_session()
- self.marionette.start_session({"requiredCapabilities": {"acceptSslCerts": ["127.0.0.1"]}})
- self.marionette.navigate(self.fixtures.where_is("test.html", on="https"))
- self.assertIn("https://", self.marionette.url)
--- a/testing/marionette/harness/marionette_harness/tests/unit/unit-tests.ini
+++ b/testing/marionette/harness/marionette_harness/tests/unit/unit-tests.ini
@@ -2,17 +2,16 @@
[test_geckoinstance.py]
[test_data_driven.py]
[test_session.py]
[test_capabilities.py]
[test_accessibility.py]
[test_expectedfail.py]
expected = fail
[test_import_script.py]
-[test_certificates.py]
[test_click.py]
[test_click_chrome.py]
skip-if = appname == 'fennec'
[test_checkbox.py]
[test_checkbox_chrome.py]
skip-if = appname == 'fennec'
[test_elementsize.py]
[test_elementsize_chrome.py]