From 7de9260b0d14a7b68aee31404b5b757d8460d0a9 Mon Sep 17 00:00:00 2001 From: Nain Date: Wed, 15 Mar 2023 14:59:12 -0400 Subject: [PATCH] Remove test now that --repository isn't expected to error As discussed #652#issuecomment-5579 --- tests/integration/commands/test_arguments.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/tests/integration/commands/test_arguments.py b/tests/integration/commands/test_arguments.py index cb001c10..754564b2 100644 --- a/tests/integration/commands/test_arguments.py +++ b/tests/integration/commands/test_arguments.py @@ -254,13 +254,6 @@ def test_parse_arguments_allows_init_and_create(): module.parse_arguments('--config', 'myconfig', 'init', '--encryption', 'repokey', 'create') -def test_parse_arguments_disallows_repository_unless_action_consumes_it(): - flexmock(module.collect).should_receive('get_default_config_paths').and_return(['default']) - - with pytest.raises(SystemExit): - module.parse_arguments('--config', 'myconfig', '--repository', 'test.borg') - - def test_parse_arguments_allows_repository_with_extract(): flexmock(module.collect).should_receive('get_default_config_paths').and_return(['default'])