diff --git a/unittests/test_namespaces.py b/unittests/test_namespaces.py index 2537507..2f03f49 100644 --- a/unittests/test_namespaces.py +++ b/unittests/test_namespaces.py @@ -52,7 +52,7 @@ class TestNamespaces(testtools.TestCase): with open(cls_name) as f: data = f.read() - regexp_str = '%s:[A-Z]+' % namespace + regexp_str = '[^a-zA-Z]%s:[a-zA-Z]+' % namespace regexp = re.compile(regexp_str) if len(regexp.findall(data)) == 0: msg = ('Namespace "%s" is not used in the "%s" and should '