From ce1a26c8e0c58c920eb93ab59ab278005cde9d6e Mon Sep 17 00:00:00 2001 From: Michael Chapman Date: Tue, 18 May 2021 13:27:05 +1000 Subject: [PATCH] Re-enable zone export list filter test Filter criteria are respected when listing zone imports and exports Depends-On: https://review.opendev.org/789711 Change-Id: I06459a6208757b95117af3f270fde60b847f0b97 --- designate_tempest_plugin/tests/api/v2/test_zones_exports.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/designate_tempest_plugin/tests/api/v2/test_zones_exports.py b/designate_tempest_plugin/tests/api/v2/test_zones_exports.py index ef9ba6df..e1b02260 100644 --- a/designate_tempest_plugin/tests/api/v2/test_zones_exports.py +++ b/designate_tempest_plugin/tests/api/v2/test_zones_exports.py @@ -159,7 +159,6 @@ class ZonesExportTest(BaseZoneExportsTest): 'listed IDs:{}'.format(id, listed_exports_ids)) @decorators.idempotent_id('e4a11a14-9aaa-11eb-be59-74e5f9e2a801') - @decorators.skip_because(bug='1926058') def test_list_zone_exports_filter_results(self): LOG.info('Create a primary zone and its export') @@ -209,9 +208,8 @@ class ZonesExportTest(BaseZoneExportsTest): self.assertEqual( [], self.admin_client.list_zone_exports( headers={'x-auth-all-projects': True}, - params={'zone_id': primary_zone['id']})[1]['exports'], - 'Failed, filtered result should contain a single zone ' - '(primary zone export)') + params={'zone_id': alt_zone['id']})[1]['exports'], + 'Failed, filtered result should be empty.') class ZonesExportTestNegative(BaseZoneExportsTest):