Not hiding the special files in the cache.

They are still distinguished from the result files because their names don't
contain a hyphen, which all the result files have.
This commit is contained in:
Andrew Hamilton 2016-01-26 14:49:15 +00:00
parent 17516cd831
commit 20a2f2d401
2 changed files with 4 additions and 4 deletions

View file

@ -244,7 +244,7 @@ class MainTestCase(unittest.TestCase):
with vigil.chdir(root_path):
with contextlib.redirect_stdout(io.StringIO()):
vigil.main(root_path, is_being_tested=True)
for file_name in [".summary.pickle", ".creation-time", ".log",
for file_name in ["summary.pickle", "creation_time", "log",
"foo-metadata"]:
self.assertTrue(os.path.exists(".vigil/" + file_name))
self.assertEqual(_mount_total(), mount_total)