From bea859f54f6b4af23ac49d388a43935354ec00c7 Mon Sep 17 00:00:00 2001 From: Andrew Hamilton Date: Mon, 12 Oct 2020 22:45:34 +1000 Subject: [PATCH] Fix broken tests. --- tests/__main___test.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/tests/__main___test.py b/tests/__main___test.py index af1ff92..b6bb655 100755 --- a/tests/__main___test.py +++ b/tests/__main___test.py @@ -138,7 +138,8 @@ class SummarySyncWithFilesystemTestCase(unittest.TestCase): _touch(self.foo_path) _touch(self.bar_path) self.log = __main__.Log(self.appearance_changed_event) - self.loop.run_until_complete(self.summary.sync_with_filesystem(self.log)) + self.loop.run_until_complete(self.summary.sync_with_filesystem( + self.appearance_changed_event, self.log)) self.jobs_added_event.clear() def tearDown(self): @@ -191,7 +192,8 @@ class SummarySyncWithFilesystemTestCase(unittest.TestCase): os.symlink(self.foo_path, baz_path) os.link(self.foo_path, self.zoo_path) log = __main__.Log(self.appearance_changed_event) - self.loop.run_until_complete(self.summary.sync_with_filesystem(log)) + self.loop.run_until_complete(self.summary.sync_with_filesystem( + self.appearance_changed_event, log)) self._assert_paths(["./bar.md", "./baz", "./foo", "./zoo.html"]) self.assertTrue(id(self.summary._entries[1]) != # baz id(self.summary._entries[2])) # foo