Fix Wrong Remove Function in Packager Test

Change-Id: I58350c2041abfd3b9c533003d408d447b9213123
This commit is contained in:
Aaron Vaage 2018-02-27 13:24:50 -08:00
parent a097aa4d3b
commit bbdcf5ee91
1 changed files with 1 additions and 1 deletions

View File

@ -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(