]> git-server-git.apps.pok.os.sepia.ceph.com Git - s3-tests.git/commitdiff
Use unique name in starts with nonalpha test 36/head
authorAndrew Gaul <andrew@gaul.org>
Tue, 6 Jan 2015 21:41:56 +0000 (13:41 -0800)
committerAndrew Gaul <andrew@gaul.org>
Tue, 6 Jan 2015 21:43:09 +0000 (13:43 -0800)
s3tests/functional/test_s3.py

index d243d2a8ecb603c286f7a94a6396e72efcff560f..9d25dac00109eba9cc1c31db18e72fbe3995dba7 100644 (file)
@@ -2549,7 +2549,8 @@ def check_bad_bucket_name(name):
 @attr(operation='name begins with underscore')
 @attr(assertion='fails with subdomain: 400')
 def test_bucket_create_naming_bad_starts_nonalpha():
-    check_bad_bucket_name('_alphasoup')
+    bucket_name = get_new_bucket_name()
+    check_bad_bucket_name('_' + bucket_name)
 
 
 @attr(resource='bucket')