From 855def0e827bb0eea939648a2ba10708ff74f25f Mon Sep 17 00:00:00 2001 From: Thomas Goirand Date: Sat, 20 Feb 2016 02:45:33 +0000 Subject: [PATCH] 1.patch Rewritten-From: 8b53b45c698493d61a01b75fb97052bdc6033733 --- trusty/debian/patches/1.patch | 69 +++++++++++++++++++++++++++++++++++ trusty/debian/patches/series | 3 +- 2 files changed, 71 insertions(+), 1 deletion(-) create mode 100644 trusty/debian/patches/1.patch diff --git a/trusty/debian/patches/1.patch b/trusty/debian/patches/1.patch new file mode 100644 index 0000000..5f78197 --- /dev/null +++ b/trusty/debian/patches/1.patch @@ -0,0 +1,69 @@ +Description: + TODO: Put a short summary on the line above and replace this paragraph + with a longer explanation of this change. Complete the meta-information + with other relevant fields (see below for details). To make it easier, the + information below has been extracted from the changelog. Adjust it or drop + it. + . + horizon (2:9.0.0~b2+2016.02.18.git.cda9604792-1) experimental; urgency=medium + . + * New upstream release, based on commit cda9604792. + * Fixed (build-)depends for this release. + * Added patch: Provide_2_simple_methods_to_check_for_disabled_panels.patch + * Added patch: 0100-add-openstack_auth-in-INSTALLED_APPS.patch + * Added patch: 0090-explicitly-declare-app_label.patch + * Added patch: Fix_remaining_Django_1.9_test_failures.patch + * Added patch: Only_import_selenium_if_WITH_SELENIUM_is_set.patch +Author: Thomas Goirand + +--- +The information above should follow the Patch Tagging Guidelines, please +checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here +are templates for supplementary fields that you might want to add: + +Origin: , +Bug: +Bug-Debian: https://bugs.debian.org/ +Bug-Ubuntu: https://launchpad.net/bugs/ +Forwarded: +Reviewed-By: +Last-Update: + +--- horizon-9.0.0~b2+2016.02.18.git.cda9604792.orig/horizon/test/webdriver.py ++++ horizon-9.0.0~b2+2016.02.18.git.cda9604792/horizon/test/webdriver.py +@@ -45,21 +45,21 @@ if with_sel: + desired_capabilities = dc.DesiredCapabilities.FIREFOX + + +-class WrapperFindOverride(object): +- """Mixin for overriding find_element methods.""" ++ class WrapperFindOverride(object): ++ """Mixin for overriding find_element methods.""" + +- def find_element(self, by=by.By.ID, value=None): +- web_el = super(WrapperFindOverride, self).find_element(by, value) +- return WebElementWrapper(web_el.parent, web_el.id, (by, value), +- self) +- +- def find_elements(self, by=by.By.ID, value=None): +- web_els = super(WrapperFindOverride, self).find_elements(by, value) +- result = [] +- for index, web_el in enumerate(web_els): +- result.append(WebElementWrapper(web_el.parent, web_el.id, +- (by, value), self, index)) +- return result ++ def find_element(self, by=by.By.ID, value=None): ++ web_el = super(WrapperFindOverride, self).find_element(by, value) ++ return WebElementWrapper(web_el.parent, web_el.id, (by, value), ++ self) ++ ++ def find_elements(self, by=by.By.ID, value=None): ++ web_els = super(WrapperFindOverride, self).find_elements(by, value) ++ result = [] ++ for index, web_el in enumerate(web_els): ++ result.append(WebElementWrapper(web_el.parent, web_el.id, ++ (by, value), self, index)) ++ return result + + + class WebElementWrapper(WrapperFindOverride, webelement.WebElement): diff --git a/trusty/debian/patches/series b/trusty/debian/patches/series index 9820d71..97f7754 100644 --- a/trusty/debian/patches/series +++ b/trusty/debian/patches/series @@ -6,4 +6,5 @@ enable_identity_users_panel.patch #0100-add-openstack_auth-in-INSTALLED_APPS.patch 0090-explicitly-declare-app_label.patch Fix_remaining_Django_1.9_test_failures.patch -Only_import_selenium_if_WITH_SELENIUM_is_set.patch \ No newline at end of file +Only_import_selenium_if_WITH_SELENIUM_is_set.patch +1.patch -- 2.45.2