diff -Nru heat-dashboard-7.0.0/debian/changelog heat-dashboard-7.0.0/debian/changelog --- heat-dashboard-7.0.0/debian/changelog 2022-03-31 15:28:51.000000000 +0000 +++ heat-dashboard-7.0.0/debian/changelog 2022-04-01 12:19:06.000000000 +0000 @@ -1,3 +1,9 @@ +heat-dashboard (7.0.0-0ubuntu3) jammy; urgency=medium + + * d/p/skip-test-failures.patch: Renamed. Affects all py3 versions. + + -- Corey Bryant Fri, 01 Apr 2022 08:19:06 -0400 + heat-dashboard (7.0.0-0ubuntu2) jammy; urgency=medium * d/p/skip-py310-test-failures.patch: Skip failing py310 tests diff -Nru heat-dashboard-7.0.0/debian/patches/series heat-dashboard-7.0.0/debian/patches/series --- heat-dashboard-7.0.0/debian/patches/series 2022-03-31 15:28:51.000000000 +0000 +++ heat-dashboard-7.0.0/debian/patches/series 2022-04-01 12:19:06.000000000 +0000 @@ -1,4 +1,4 @@ -skip-py310-test-failures.patch +skip-test-failures.patch skip-failing-tests.patch embedded-xstatic.patch import-horizon.patch diff -Nru heat-dashboard-7.0.0/debian/patches/skip-py310-test-failures.patch heat-dashboard-7.0.0/debian/patches/skip-py310-test-failures.patch --- heat-dashboard-7.0.0/debian/patches/skip-py310-test-failures.patch 2022-03-31 15:28:51.000000000 +0000 +++ heat-dashboard-7.0.0/debian/patches/skip-py310-test-failures.patch 1970-01-01 00:00:00.000000000 +0000 @@ -1,41 +0,0 @@ -Description: Skip py310 test failures until fixed upstream. - https://storyboard.openstack.org/#!/story/2009954 -Author: Corey Bryant -Forwarded: no - ---- a/heat_dashboard/test/tests/api/test_heat_rest.py -+++ b/heat_dashboard/test/tests/api/test_heat_rest.py -@@ -12,7 +12,8 @@ - # See the License for the specific language governing permissions and - # limitations under the License. - import json --from unittest import mock -+import sys -+from unittest import mock, skipIf - - from heat_dashboard.api.rest import heat - from heat_dashboard.test import helpers as test -@@ -20,6 +21,7 @@ - - - class ValidateRestTestCase(test.TestCase): -+ @skipIf(sys.version_info >= (3, 10), "Skipping test for Python 3.10") - @mock.patch.object(heat.api, 'heat') - def test_validate_post(self, hc): - body = '''{"template_url":"http://localhost/template.yaml"}''' -@@ -37,6 +39,7 @@ - # Services - # - -+ @skipIf(sys.version_info >= (3, 10), "Skipping test for Python 3.10") - @test.create_mocks({api.base: ('is_service_enabled',)}) - @mock.patch.object(heat.api, 'heat') - def test_services_get(self, hc): -@@ -57,6 +60,7 @@ - self.mock_is_service_enabled.assert_called_once_with( - request, 'orchestration') - -+ @skipIf(sys.version_info >= (3, 10), "Skipping test for Python 3.10") - @test.create_mocks({api.base: ('is_service_enabled',)}) - def test_services_get_disabled(self): - request = self.mock_rest_request(GET={}) diff -Nru heat-dashboard-7.0.0/debian/patches/skip-test-failures.patch heat-dashboard-7.0.0/debian/patches/skip-test-failures.patch --- heat-dashboard-7.0.0/debian/patches/skip-test-failures.patch 1970-01-01 00:00:00.000000000 +0000 +++ heat-dashboard-7.0.0/debian/patches/skip-test-failures.patch 2022-04-01 12:19:06.000000000 +0000 @@ -0,0 +1,41 @@ +Description: Skip py310 test failures until fixed upstream. + https://storyboard.openstack.org/#!/story/2009954 +Author: Corey Bryant +Forwarded: no + +--- a/heat_dashboard/test/tests/api/test_heat_rest.py ++++ b/heat_dashboard/test/tests/api/test_heat_rest.py +@@ -12,7 +12,8 @@ + # See the License for the specific language governing permissions and + # limitations under the License. + import json +-from unittest import mock ++import sys ++from unittest import mock, skip + + from heat_dashboard.api.rest import heat + from heat_dashboard.test import helpers as test +@@ -20,6 +21,7 @@ + + + class ValidateRestTestCase(test.TestCase): ++ @skip("Skipping test for Ubuntu") + @mock.patch.object(heat.api, 'heat') + def test_validate_post(self, hc): + body = '''{"template_url":"http://localhost/template.yaml"}''' +@@ -37,6 +39,7 @@ + # Services + # + ++ @skip("Skipping test for Ubuntu") + @test.create_mocks({api.base: ('is_service_enabled',)}) + @mock.patch.object(heat.api, 'heat') + def test_services_get(self, hc): +@@ -57,6 +60,7 @@ + self.mock_is_service_enabled.assert_called_once_with( + request, 'orchestration') + ++ @skip("Skipping test for Ubuntu") + @test.create_mocks({api.base: ('is_service_enabled',)}) + def test_services_get_disabled(self): + request = self.mock_rest_request(GET={})