Skip to content

Commit 833074d

Browse files
committed
Remove branch parameter from test
1 parent 4064ecf commit 833074d

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/unit/ctl/test_repository_app.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -284,8 +284,6 @@ def test_repo_description_commit_branch(self, mock_init_client, mock_client) ->
284284
"This is a test description",
285285
"--ref",
286286
"my-custom-branch",
287-
"--branch",
288-
"develop",
289287
],
290288
)
291289
assert output.exit_code == 0
@@ -329,6 +327,6 @@ def test_repo_description_commit_branch(self, mock_init_client, mock_client) ->
329327
)
330328

331329
def test_repo_list(self, mock_repositories_list) -> None:
332-
result = runner.invoke(app, ["repository", "list", "--branch", "main"])
330+
result = runner.invoke(app, ["repository", "list"])
333331
assert result.exit_code == 0
334332
assert strip_color(result.stdout) == read_fixture("output.txt", "integration/test_infrahubctl/repository_list")

0 commit comments

Comments
 (0)