Revisions of python-os-api-ref
Dirk Mueller (dirkmueller)
committed
(revision 32)
D 0001-Fix-microversion-test-handle-different-HTML-renderin.patch D os-api-ref-1.4.0.tar.gz D os-api-ref-1.5.0.tar.gz D os-api-ref-1.6.0.tar.gz Diff for working copy: . Index: 0001-Fix-microversion-test-handle-different-HTML-renderin.patch =================================================================== --- 0001-Fix-microversion-test-handle-different-HTML-renderin.patch (revision 31) +++ 0001-Fix-microversion-test-handle-different-HTML-renderin.patch (working copy) @@ -1,40 +0,0 @@ -From 4e56d09dafaa7e2b2dc9fd2cd1864ffe6c39e219 Mon Sep 17 00:00:00 2001 -From: Luigi Toscano <ltoscano@redhat.com> -Date: Fri, 11 Jan 2019 11:58:11 +0100 -Subject: [PATCH] Fix microversion test: handle different HTML renderings - -The rendered HTML changes a bit between beautifulsoup4 4.6.3 and 4.7.1. -A regular expression can handle both cases. - -Change-Id: I64d4c56b480d54b50e58141999636b91b5fb4f94 ---- - os_api_ref/tests/test_microversions.py | 12 ++++++------ - 1 file changed, 6 insertions(+), 6 deletions(-) - -diff --git a/os_api_ref/tests/test_microversions.py b/os_api_ref/tests/test_microversions.py -index b58f6a6..d58f673 100644 ---- a/os_api_ref/tests/test_microversions.py -+++ b/os_api_ref/tests/test_microversions.py -@@ -45,13 +45,13 @@ class TestMicroversions(base.TestCase): - def test_rest_method(self): - """Test that min / max mv css class attributes are set""" - content = self.soup.find_all(class_='rp_min_ver_2_17') -- self.assertIn( -- '<div class="operation-grp rp_min_ver_2_17 rp_max_ver_2_19 ">', -- str(content[0])) -+ self.assertRegexpMatches( -+ str(content[0]), -+ '^<div class="operation-grp rp_min_ver_2_17 rp_max_ver_2_19 ?"') - content = self.soup.find_all(class_='rp_max_ver_2_19') -- self.assertIn( -- '<div class="operation-grp rp_min_ver_2_17 rp_max_ver_2_19 ">', -- str(content[0])) -+ self.assertRegexpMatches( -+ str(content[0]), -+ '^<div class="operation-grp rp_min_ver_2_17 rp_max_ver_2_19 ?"') - - def test_parameters_table(self): - """Test that min / max mv css class attributes are set in params""" --- -2.21.0 - Index: os-api-ref-1.4.0.tar.gz =================================================================== Binary file 'os-api-ref-1.4.0.tar.gz' deleted. Index: os-api-ref-1.5.0.tar.gz =================================================================== Binary file 'os-api-ref-1.5.0.tar.gz' deleted. Index: os-api-ref-1.6.0.tar.gz =================================================================== Binary file 'os-api-ref-1.6.0.tar.gz' deleted.
Bernhard Wiedemann (opensuseapibmw)
committed
(revision 31)
Bernhard Wiedemann (opensuseapibmw)
committed
(revision 30)
Bernhard Wiedemann (opensuseapibmw)
committed
(revision 29)
Bernhard Wiedemann (opensuseapibmw)
committed
(revision 28)
Bernhard Wiedemann (opensuseapibmw)
committed
(revision 27)
Bernhard Wiedemann (opensuseapibmw)
committed
(revision 26)
Bernhard Wiedemann (opensuseapibmw)
committed
(revision 25)
Bernhard Wiedemann (opensuseapibmw)
committed
(revision 24)
Bernhard Wiedemann (opensuseapibmw)
committed
(revision 23)
Bernhard Wiedemann (opensuseapibmw)
committed
(revision 22)
Bernhard Wiedemann (opensuseapibmw)
committed
(revision 21)
Bernhard Wiedemann (opensuseapibmw)
committed
(revision 20)
Bernhard Wiedemann (opensuseapibmw)
committed
(revision 19)
Bernhard Wiedemann (opensuseapibmw)
committed
(revision 18)
Bernhard Wiedemann (opensuseapibmw)
committed
(revision 17)
Bernhard Wiedemann (opensuseapibmw)
committed
(revision 16)
Dirk Mueller (dirkmueller)
committed
(revision 15)
remove outdated tarballs
Bernhard Wiedemann (opensuseapibmw)
committed
(revision 14)
Bernhard Wiedemann (opensuseapibmw)
committed
(revision 13)
Displaying revisions 21 - 40 of 52