Skip to content

Commit 72bea24

Browse files
committed
tests(test_cli): Update fixture name
1 parent 2e7844c commit 72bea24

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

tests/test_cli.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -86,25 +86,25 @@ class SyncBrokenFixture(t.NamedTuple):
8686
),
8787
SyncBrokenFixture(
8888
test_id="normal-first-broken",
89-
sync_args=["non_existent_repo", "my_git_repo"],
89+
sync_args=["my_git_repo_not_found", "my_git_repo"],
9090
expected_exit_code=0,
9191
expected_not_in_output=EXIT_ON_ERROR_MSG,
9292
),
9393
SyncBrokenFixture(
9494
test_id="normal-last-broken",
95-
sync_args=["my_git_repo", "non_existent_repo"],
95+
sync_args=["my_git_repo", "my_git_repo_not_found"],
9696
expected_exit_code=0,
9797
expected_not_in_output=EXIT_ON_ERROR_MSG,
9898
),
9999
SyncBrokenFixture(
100100
test_id="exit-on-error--exit-on-error-first-broken",
101-
sync_args=["non_existent_repo", "my_git_repo", "--exit-on-error"],
101+
sync_args=["my_git_repo_not_found", "my_git_repo", "--exit-on-error"],
102102
expected_exit_code=1,
103103
expected_in_output=EXIT_ON_ERROR_MSG,
104104
),
105105
SyncBrokenFixture(
106106
test_id="exit-on-error--x-first-broken",
107-
sync_args=["non_existent_repo", "my_git_repo", "-x"],
107+
sync_args=["my_git_repo_not_found", "my_git_repo", "-x"],
108108
expected_exit_code=1,
109109
expected_in_output=EXIT_ON_ERROR_MSG,
110110
expected_not_in_output="master",
@@ -114,13 +114,13 @@ class SyncBrokenFixture(t.NamedTuple):
114114
#
115115
SyncBrokenFixture(
116116
test_id="exit-on-error--exit-on-error-last-broken",
117-
sync_args=["my_git_repo", "non_existent_repo", "-x"],
117+
sync_args=["my_git_repo", "my_git_repo_not_found", "-x"],
118118
expected_exit_code=1,
119119
expected_in_output=[EXIT_ON_ERROR_MSG, "Already on 'master'"],
120120
),
121121
SyncBrokenFixture(
122122
test_id="exit-on-error--x-last-item",
123-
sync_args=["my_git_repo", "non_existent_repo", "--exit-on-error"],
123+
sync_args=["my_git_repo", "my_git_repo_not_found", "--exit-on-error"],
124124
expected_exit_code=1,
125125
expected_in_output=[EXIT_ON_ERROR_MSG, "Already on 'master'"],
126126
),
@@ -157,7 +157,7 @@ def test_sync_broken(
157157
"url": f"git+file://{git_repo.dir}",
158158
"remotes": {"test_remote": f"git+file://{git_repo.dir}"},
159159
},
160-
"non_existent_repo": {
160+
"my_git_repo_not_found": {
161161
"url": "git+file:///dev/null",
162162
},
163163
}

0 commit comments

Comments
 (0)