Skip to content

Commit

Permalink
sort lists in recursive test
Browse files Browse the repository at this point in the history
  • Loading branch information
shakim authored and lavagetto committed Feb 22, 2015
1 parent 9ffc156 commit cd128c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/etcd/tests/integration/test_simple.py
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ def test_retrieve_subkeys(self):
set_result = self.client.write('/subtree/test_set2', 'test-key3')
get_result = self.client.read('/subtree', recursive=True)
result = [subkey.value for subkey in get_result.leaves]
self.assertEquals(['test-key1', 'test-key2', 'test-key3'], result)
self.assertEquals(['test-key1', 'test-key2', 'test-key3'].sort(), result.sort())

def test_directory_ttl_update(self):
""" INTEGRATION: should be able to update a dir TTL """
Expand Down

0 comments on commit cd128c9

Please sign in to comment.