From 5baa5e659426854508e4819769558b6005621783 Mon Sep 17 00:00:00 2001 From: Nikhil Komawar Date: Tue, 2 Aug 2016 18:57:57 -0400 Subject: [PATCH] Some migrations tests incorrectly ref S3 for Swift There were some notes on the test_migrations that referred to swift specific tests as S3 URIs. This commit simply corrects those notes. TrivialFix Change-Id: Iec8f905b31f80e3e94c3f5f0adc7e53de837ffdb --- glance/tests/unit/test_migrations.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/glance/tests/unit/test_migrations.py b/glance/tests/unit/test_migrations.py index 6024f2afdb..fdcd04ca96 100644 --- a/glance/tests/unit/test_migrations.py +++ b/glance/tests/unit/test_migrations.py @@ -422,7 +422,7 @@ class MigrationsMixin(test_migrations.WalkVersionsMixin): True) invalid_account_missing_uri = 'swift+http://container/obj-id' - # Badly formed S3 URI: swift+http://container/obj-id + # Badly formed Swift URI: swift+http://container/obj-id self.assertRaises(exception.BadStoreUri, legacy_parse_uri_fn, invalid_account_missing_uri, @@ -430,7 +430,7 @@ class MigrationsMixin(test_migrations.WalkVersionsMixin): invalid_container_missing_uri = ('swift+http://' 'acct:usr:pass@example.com/obj-id') - # Badly formed S3 URI: swift+http://acct:usr:pass@example.com/obj-id + # Badly formed Swift URI: swift+http://acct:usr:pass@example.com/obj-id self.assertRaises(exception.BadStoreUri, legacy_parse_uri_fn, invalid_container_missing_uri, @@ -438,7 +438,8 @@ class MigrationsMixin(test_migrations.WalkVersionsMixin): invalid_object_missing_uri = ('swift+http://' 'acct:usr:pass@example.com/container') - # Badly formed S3 URI: swift+http://acct:usr:pass@example.com/container + # Badly formed Swift URI: + # swift+http://acct:usr:pass@example.com/container self.assertRaises(exception.BadStoreUri, legacy_parse_uri_fn, invalid_object_missing_uri,