diff options
author | Kefu Chai <kchai@redhat.com> | 2020-03-24 09:33:22 +0100 |
---|---|---|
committer | Kefu Chai <kchai@redhat.com> | 2020-03-24 11:27:55 +0100 |
commit | 947a74349d2ce1266cb0f3c6a7030605999e21b3 (patch) | |
tree | aba9dd2e6a6fcaf3695cf919d28f4a62165f673c /qa/tasks/tests/test_radosgw_admin.py | |
parent | Merge pull request #34108 from mgfritch/cephadm-optional-config-keyring (diff) | |
download | ceph-947a74349d2ce1266cb0f3c6a7030605999e21b3.tar.xz ceph-947a74349d2ce1266cb0f3c6a7030605999e21b3.zip |
qa: import with full path
to be py3 compatible
Signed-off-by: Kefu Chai <kchai@redhat.com>
Diffstat (limited to 'qa/tasks/tests/test_radosgw_admin.py')
-rw-r--r-- | qa/tasks/tests/test_radosgw_admin.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qa/tasks/tests/test_radosgw_admin.py b/qa/tasks/tests/test_radosgw_admin.py index 59f357891ca..dbbebf89085 100644 --- a/qa/tasks/tests/test_radosgw_admin.py +++ b/qa/tasks/tests/test_radosgw_admin.py @@ -1,6 +1,6 @@ from mock import Mock -from .. import radosgw_admin +from tasks import radosgw_admin acl_with_version = """<?xml version="1.0" encoding="UTF-8"?><AccessControlPolicy xmlns="http://s3.amazonaws.com/doc/2006-03-01/"><Owner><ID>foo</ID><DisplayName>Foo</DisplayName></Owner><AccessControlList><Grant><Grantee xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="CanonicalUser"><ID>foo</ID><DisplayName>Foo</DisplayName></Grantee><Permission>FULL_CONTROL</Permission></Grant></AccessControlList></AccessControlPolicy> """ # noqa |