From 68262b6212f8c1d9aa2ea24ad3fb50df857b322f Mon Sep 17 00:00:00 2001 From: Eric Torres Date: Mon, 20 Dec 2021 22:43:18 -0800 Subject: [PATCH] Run black formatter --- tests/test_editor.py | 2 ++ tests/test_fzf.py | 2 +- tests/test_search.py | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/tests/test_editor.py b/tests/test_editor.py index b66ed25..aad1d49 100644 --- a/tests/test_editor.py +++ b/tests/test_editor.py @@ -19,6 +19,8 @@ import file_scripts.editor as editor * If override is not None, ensure that it is in the result """ + + class TestSelectEditor(unittest.TestCase): def test_returns_path_object(self): self.assertIsInstance(editor.select_editor(), str) diff --git a/tests/test_fzf.py b/tests/test_fzf.py index 449bc1a..876c334 100644 --- a/tests/test_fzf.py +++ b/tests/test_fzf.py @@ -21,7 +21,7 @@ class TestRunFZF(unittest.TestCase): self.mocked_run = self.patched_subprocess.start() def test_creates_pathlike_object(self): - self.assertIsInstance(fzf.select_file_with_fzf(b'test'), Path) + self.assertIsInstance(fzf.select_file_with_fzf(b"test"), Path) def tearDown(self): patch.stopall() diff --git a/tests/test_search.py b/tests/test_search.py index c6eadb0..3191f56 100644 --- a/tests/test_search.py +++ b/tests/test_search.py @@ -71,12 +71,12 @@ class TestFindFiles(unittest.TestCase): class LocateFiles(unittest.TestCase): def setUp(self): - #self.patched_locate_opts = patch(f"{TESTING_MODULE}") + # self.patched_locate_opts = patch(f"{TESTING_MODULE}") self.patched_subprocess = patch(f"{TESTING_MODULE}.subprocess.run") self.mocked_run = self.patched_subprocess.start() - search.LOCATE_OPTS = ["opt1", "opt2"] + search.LOCATE_OPTS = ["opt1", "opt2"] @given(test_patterns=lists(text()), bin=text()) def test_bin_override(self, test_patterns, bin):