diff options
author | Damien Baty <damien@damienbaty.com> | 2023-03-18 10:46:52 +0100 |
---|---|---|
committer | Damien Baty <damien@damienbaty.com> | 2023-03-18 14:00:38 +0100 |
commit | d8eb8b5b82a14beefc700b791f33bf08b754462f (patch) | |
tree | 73cd24b45bfa9987eef6a00ad37735c10497bfeb /tests/test_main.py | |
parent | 1c071770bb037196bd3830258c33c6ad9031c0b3 (diff) |
Apply black (version 23.1.0)
Diffstat (limited to 'tests/test_main.py')
-rw-r--r-- | tests/test_main.py | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/test_main.py b/tests/test_main.py index 9b3a84b2..9635fc04 100644 --- a/tests/test_main.py +++ b/tests/test_main.py @@ -216,7 +216,6 @@ def pset_pager_mocks(): with mock.patch("pgcli.main.click.echo") as mock_echo, mock.patch( "pgcli.main.click.echo_via_pager" ) as mock_echo_via_pager, mock.patch.object(cli, "prompt_app") as mock_app: - yield cli, mock_echo, mock_echo_via_pager, mock_app @@ -371,7 +370,6 @@ def test_quoted_db_uri(tmpdir): def test_pg_service_file(tmpdir): - with mock.patch.object(PGCli, "connect") as mock_connect: cli = PGCli(pgclirc_file=str(tmpdir.join("rcfile"))) with open(tmpdir.join(".pg_service.conf").strpath, "w") as service_conf: |