Coding style.

This commit is contained in:
Andrew Hamilton 2016-10-21 18:12:33 +02:00
parent c695479499
commit 29edc33337
2 changed files with 59 additions and 59 deletions

View file

@ -225,8 +225,8 @@ class MainTestCase(unittest.TestCase):
# processes = _all_processes()
foo_path = os.path.join(root_path, "foo")
open(foo_path, "w").close()
vigil._manage_cache(root_path)
with vigil._chdir(root_path):
vigil.manage_cache(root_path)
with vigil.chdir(root_path):
with contextlib.redirect_stdout(io.StringIO()):
vigil.main(root_path, loop, worker_count=2,
is_sandboxed=True, is_being_tested=True)