We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7554302 commit 5a8986eCopy full SHA for 5a8986e
2 files changed
irods/access.py
@@ -123,7 +123,7 @@ def copy(self, decanonicalize=False, ref_zone=''):
123
)
124
if '' != ref_zone == other.user_zone:
125
other.user_zone = ''
126
-
+
127
return other
128
129
def __repr__(self):
irods/test/access_test.py
@@ -553,8 +553,8 @@ def test_atomic_acls_505(self):
553
group = ses.groups.create("test_group_505")
554
ses.acls._call_atomic_acl_api(
555
self.coll_path,
556
- a1:=iRODSAccess("write", "", user1.name, user1.zone),
557
- a2:=iRODSAccess("read", "", user2.name, user2.zone),
+ a1:=iRODSAccess("write", "", user1.name, user1.zone),
+ a2:=iRODSAccess("read", "", user2.name, user2.zone),
558
a3:=iRODSAccess("read", "", group.name),
559
560
@@ -565,7 +565,7 @@ def test_atomic_acls_505(self):
565
p.path = self.coll_path
566
567
# Assert that the ACLs we added are among those listed for the object in the catalog.
568
- normalize = lambda access: access.copy(decanonicalize=True, ref_zone=ses.zone)
+ normalize = lambda access: access.copy(decanonicalize=True, ref_zone=ses.zone)
569
self.assertLess(
570
set(normalize(_) for _ in (a1,a2,a3)),
571
set(normalize(_) for _ in accesses)
0 commit comments