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:
2017-01-03 06:01:30 +01:00
parent db7b8e347a
commit 1d35436dee
5 changed files with 29 additions and 6 deletions
+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