From 623c0537e1c4fa1aeed06166985ba8928a487745 Mon Sep 17 00:00:00 2001 From: Hugo Osvaldo Barrera Date: Thu, 17 Jun 2021 18:51:02 +0200 Subject: [PATCH] Update test --- tests/system/cli/test_sync.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/system/cli/test_sync.py b/tests/system/cli/test_sync.py index bcffa1d..b89f79c 100644 --- a/tests/system/cli/test_sync.py +++ b/tests/system/cli/test_sync.py @@ -409,8 +409,8 @@ def test_no_configured_pairs(tmpdir, runner, cmd): runner.write_with_general("") result = runner.invoke([cmd]) - assert result.output == "critical: Nothing to do.\n" - assert result.exception.code == 5 + assert result.output == "" + assert not result.exception @pytest.mark.parametrize(