[Pkg-mozext-commits] [requestpolicy] 69/257: [tst][ref] python files: remove unused code
David Prévot
taffit at moszumanska.debian.org
Thu Jan 28 03:19:57 UTC 2016
This is an automated email from the git hooks/post-receive script.
taffit pushed a commit to branch master
in repository requestpolicy.
commit e936a41ef624dfa22ebe519307b7d5b4874eebbb
Author: Martin Kimmerle <dev at 256k.de>
Date: Tue Oct 6 12:54:06 2015 +0200
[tst][ref] python files: remove unused code
---
tests/marionette/rp_puppeteer/tests/test_requests.py | 1 -
tests/marionette/rp_puppeteer/ui/addons.py | 1 -
.../test_multiple_installations.py | 13 +++++--------
3 files changed, 5 insertions(+), 10 deletions(-)
diff --git a/tests/marionette/rp_puppeteer/tests/test_requests.py b/tests/marionette/rp_puppeteer/tests/test_requests.py
index 7c5b6c2..4f44cd4 100644
--- a/tests/marionette/rp_puppeteer/tests/test_requests.py
+++ b/tests/marionette/rp_puppeteer/tests/test_requests.py
@@ -4,7 +4,6 @@
from rp_ui_harness import RequestPolicyTestCase
from rp_puppeteer.api.requests import Requests
-from marionette_driver.errors import JavascriptException
PREF_DEFAULT_ALLOW = "extensions.requestpolicy.defaultPolicy.allow"
diff --git a/tests/marionette/rp_puppeteer/ui/addons.py b/tests/marionette/rp_puppeteer/ui/addons.py
index 830acce..4a524ef 100644
--- a/tests/marionette/rp_puppeteer/ui/addons.py
+++ b/tests/marionette/rp_puppeteer/ui/addons.py
@@ -154,7 +154,6 @@ class Addons(BaseLib):
with self.marionette.using_context("chrome"):
notif = _InstallNotifications(self.marionette)
- wait = Wait(self.marionette)
with notif.wrap_lifetime("addon-install-blocked-notification"):
# Allow the XPI to be downloaded. ("allow" button)
diff --git a/tests/marionette/tests/addon_install_and_upgrade/test_multiple_installations.py b/tests/marionette/tests/addon_install_and_upgrade/test_multiple_installations.py
index 68be206..60a3cfc 100644
--- a/tests/marionette/tests/addon_install_and_upgrade/test_multiple_installations.py
+++ b/tests/marionette/tests/addon_install_and_upgrade/test_multiple_installations.py
@@ -5,9 +5,6 @@
from rp_ui_harness import RequestPolicyTestCase
from rp_puppeteer.ui.addons import RequestPolicy, Addons
-from rp_puppeteer.api.error_detection import (LoggingErrorDetection,
- ConsoleErrorDetection)
-
OLD_VERSION__ADDON_ID = "requestpolicy at requestpolicy.com"
AMO_VERSION__ADDON_ID = "rpcontinued at requestpolicy.org"
@@ -141,27 +138,27 @@ class TestOldAndCurrentVersionActiveAfterRestart(OldVersionTestCase):
self._assert_notice_tab(selected_required=False)
-class TestAMOVersionActive_ThenInstallCurrentVersion( \
+class TestAMOVersionActive_ThenInstallCurrentVersion(\
TestOldVersionActive_ThenInstallCurrentVersion):
INSTALL_URL = AMO_VERSION__INSTALL_URL
ADDON_ID = AMO_VERSION__ADDON_ID
-class TestAMOVersionActive_ThenEnableCurrentVersion( \
+class TestAMOVersionActive_ThenEnableCurrentVersion(\
TestOldVersionActive_ThenEnableCurrentVersion):
INSTALL_URL = AMO_VERSION__INSTALL_URL
ADDON_ID = AMO_VERSION__ADDON_ID
-class TestAMOVersionNotActive_ThenInstall( \
+class TestAMOVersionNotActive_ThenInstall(\
TestOldVersionNotActive_ThenInstall):
INSTALL_URL = AMO_VERSION__INSTALL_URL
ADDON_ID = AMO_VERSION__ADDON_ID
-class TestAMOVersionNotActive_ThenEnable( \
+class TestAMOVersionNotActive_ThenEnable(\
TestOldVersionNotActive_ThenEnable):
INSTALL_URL = AMO_VERSION__INSTALL_URL
ADDON_ID = AMO_VERSION__ADDON_ID
-class TestAMOAndNonAMOVersionActiveAfterRestart( \
+class TestAMOAndNonAMOVersionActiveAfterRestart(\
TestOldAndCurrentVersionActiveAfterRestart):
INSTALL_URL = AMO_VERSION__INSTALL_URL
ADDON_ID = AMO_VERSION__ADDON_ID
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/requestpolicy.git
More information about the Pkg-mozext-commits
mailing list