Fixed tests for wrapper modules

Exchanged os.rename with shutil.move since there was a problem with
moving files between different filesystems.
This commit is contained in:
gryf committed 2017-01-03 06:01:30 +01:00
1 parent db7b8e347a
commit 1d35436dee
5 files changed
+29 -6

No files matched your search

+1 -1
View File
@@ -97,7 +97,7 @@ class Archive(base.Base):
if not utils.create_archive(arch, title):
return False
os.rename(arch, self.arch_filepath)
shutil.move(arch, self.arch_filepath)
os.chdir(curdir)
return True