We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fcc215d commit f9af9afCopy full SHA for f9af9af
1 file changed
irods/test/data_obj_test.py
@@ -3017,6 +3017,13 @@ def test_modified_sorting_of_replicas__issue_746(self):
3017
['0', '1', '1']
3018
)
3019
3020
+ # Get a data object with the PRC3-default sort order. Ordering is expected to
3021
+ # be ascending by replica number.
3022
+ if irods.version.version_as_tuple() < (4,):
3023
+ data = self.sess.data_objects.get(data.path)
3024
+ for i, repl in enumerate(data.replicas):
3025
+ self.assertEqual(repl.number, i)
3026
+
3027
options = {}
3028
if irods.version.version_as_tuple() < (4,):
3029
options['replica_sort_function'] = _REPLICA_FITNESS_SORT_KEY_FN
0 commit comments