git://developer.intra2net.com
/
python-delta-tar
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
1215b60
)
Fixed test_create_diff_backup1
author
Daniel Garcia Moreno
<danigm@wadobo.com>
Fri, 23 Aug 2013 16:21:19 +0000 (18:21 +0200)
committer
Daniel Garcia Moreno
<danigm@wadobo.com>
Fri, 23 Aug 2013 16:21:19 +0000 (18:21 +0200)
testing/test_deltatar.py
patch
|
blob
|
blame
|
history
diff --git
a/testing/test_deltatar.py
b/testing/test_deltatar.py
index
398540c
..
61a750c
100644
(file)
--- a/
testing/test_deltatar.py
+++ b/
testing/test_deltatar.py
@@
-935,7
+935,8
@@
class DeltaTarTest(BaseTest):
# restore the backup, this will create only the new files
deltatar.restore_backup(target_path="source_dir",
backup_tar_path=tar_path)
- assert os.listdir("source_dir") == ['zzzz', 'bigdir']
+ # the order doesn't matter
+ assert set(os.listdir("source_dir")) == set(['zzzz', 'bigdir'])
def test_restore_from_index_diff_backup(self):
'''