fix
This commit is contained in:
parent
4e23d770ed
commit
514589d0c5
@ -126,14 +126,14 @@ class TestCommandImport(
|
|||||||
},
|
},
|
||||||
]
|
]
|
||||||
with self.assertRaises(CommandError) as cm:
|
with self.assertRaises(CommandError) as cm:
|
||||||
cmd._check_manifest_valid()
|
cmd._check_manifest_files_valid()
|
||||||
self.assertInt("Failed to read from original file", str(cm.exception))
|
self.assertInt("Failed to read from original file", str(cm.exception))
|
||||||
|
|
||||||
original_path.chmod(0o444)
|
original_path.chmod(0o444)
|
||||||
archive_path.chmod(0o222)
|
archive_path.chmod(0o222)
|
||||||
|
|
||||||
with self.assertRaises(CommandError) as cm:
|
with self.assertRaises(CommandError) as cm:
|
||||||
cmd._check_manifest_valid()
|
cmd._check_manifest_files_valid()
|
||||||
self.assertInt("Failed to read from archive file", str(cm.exception))
|
self.assertInt("Failed to read from archive file", str(cm.exception))
|
||||||
|
|
||||||
def test_import_source_not_existing(self):
|
def test_import_source_not_existing(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user