X-Git-Url: https://git.madduck.net/etc/vim.git/blobdiff_plain/aa31a117b16ed849710cf13cea5c064839beb29e..6559bdbd9dcf71ba0017d66bb133c744bd83b0e3:/tests/test_primer.py diff --git a/tests/test_primer.py b/tests/test_primer.py index 3c1ec2f..8dd1212 100644 --- a/tests/test_primer.py +++ b/tests/test_primer.py @@ -189,7 +189,7 @@ class PrimerLibTests(unittest.TestCase): with patch("black_primer.lib.git_checkout_or_rebase", return_false): with TemporaryDirectory() as td: return_val = loop.run_until_complete( - lib.process_queue(str(config_path), td, 2) + lib.process_queue(str(config_path), Path(td), 2) ) self.assertEqual(0, return_val) @@ -210,7 +210,7 @@ class PrimerCLITests(unittest.TestCase): "no_diff": False, } with patch("black_primer.cli.lib.process_queue", return_zero): - return_val = loop.run_until_complete(cli.async_main(**args)) + return_val = loop.run_until_complete(cli.async_main(**args)) # type: ignore self.assertEqual(0, return_val) def test_handle_debug(self) -> None: