diff options
| author | Rajith Muditha Attapattu <rajith@apache.org> | 2010-01-11 19:20:34 +0000 |
|---|---|---|
| committer | Rajith Muditha Attapattu <rajith@apache.org> | 2010-01-11 19:20:34 +0000 |
| commit | b5656ed1c5c41d0808ede7df7e9fd720143eb834 (patch) | |
| tree | 4ee42b80004e3d13ad5842356ba9fd46966d7364 /qpid/cpp/src/tests | |
| parent | f4e520c9254f20c8b475e7cf41b1be03373c68b3 (diff) | |
| download | qpid-python-b5656ed1c5c41d0808ede7df7e9fd720143eb834.tar.gz | |
This is a fix for QPID-2297
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@898016 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests')
| -rwxr-xr-x | qpid/cpp/src/tests/acl.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/qpid/cpp/src/tests/acl.py b/qpid/cpp/src/tests/acl.py index b27f2f1916..b4dfa557df 100755 --- a/qpid/cpp/src/tests/acl.py +++ b/qpid/cpp/src/tests/acl.py @@ -194,13 +194,14 @@ class ACLTests(TestBase010): if (result.text.find("contains illegal characters",0,len(result.text)) == -1): self.fail(result) - def test_user_without_realm(self): + def test_user_domain(self): """ Test a user defined without a realm Ex. group admin rajith """ aclf = ACLFile() - aclf.write('group admin bob\n') + aclf.write('group test joe@EXAMPLE.com\n') # should be allowed + aclf.write('group admin bob\n') # shouldn't be allowed aclf.write('acl deny admin bind exchange\n') aclf.write('acl allow all all') aclf.close() |
