Fix Wrong Remove Function in Packager Test
Change-Id: I58350c2041abfd3b9c533003d408d447b9213123
This commit is contained in:
parent
a097aa4d3b
commit
bbdcf5ee91
|
@ -430,7 +430,7 @@ class PackagerAppTest(unittest.TestCase):
|
||||||
os.path.join(gold_dir, filename))
|
os.path.join(gold_dir, filename))
|
||||||
# Files in the gold dir but not in the output need to be removed.
|
# Files in the gold dir but not in the output need to be removed.
|
||||||
for filename in diff.right_only:
|
for filename in diff.right_only:
|
||||||
os.rm(os.path.join(gold_dir, filename))
|
os.remove(os.path.join(gold_dir, filename))
|
||||||
# Copy any changed files over to the gold directory.
|
# Copy any changed files over to the gold directory.
|
||||||
for filename in diff.diff_files:
|
for filename in diff.diff_files:
|
||||||
shutil.copyfile(
|
shutil.copyfile(
|
||||||
|
|
Loading…
Reference in New Issue