@@ -86,25 +86,25 @@ class SyncBrokenFixture(t.NamedTuple):
86
86
),
87
87
SyncBrokenFixture (
88
88
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" ],
90
90
expected_exit_code = 0 ,
91
91
expected_not_in_output = EXIT_ON_ERROR_MSG ,
92
92
),
93
93
SyncBrokenFixture (
94
94
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 " ],
96
96
expected_exit_code = 0 ,
97
97
expected_not_in_output = EXIT_ON_ERROR_MSG ,
98
98
),
99
99
SyncBrokenFixture (
100
100
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" ],
102
102
expected_exit_code = 1 ,
103
103
expected_in_output = EXIT_ON_ERROR_MSG ,
104
104
),
105
105
SyncBrokenFixture (
106
106
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" ],
108
108
expected_exit_code = 1 ,
109
109
expected_in_output = EXIT_ON_ERROR_MSG ,
110
110
expected_not_in_output = "master" ,
@@ -114,13 +114,13 @@ class SyncBrokenFixture(t.NamedTuple):
114
114
#
115
115
SyncBrokenFixture (
116
116
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" ],
118
118
expected_exit_code = 1 ,
119
119
expected_in_output = [EXIT_ON_ERROR_MSG , "Already on 'master'" ],
120
120
),
121
121
SyncBrokenFixture (
122
122
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" ],
124
124
expected_exit_code = 1 ,
125
125
expected_in_output = [EXIT_ON_ERROR_MSG , "Already on 'master'" ],
126
126
),
@@ -157,7 +157,7 @@ def test_sync_broken(
157
157
"url" : f"git+file://{ git_repo .dir } " ,
158
158
"remotes" : {"test_remote" : f"git+file://{ git_repo .dir } " },
159
159
},
160
- "non_existent_repo " : {
160
+ "my_git_repo_not_found " : {
161
161
"url" : "git+file:///dev/null" ,
162
162
},
163
163
}
0 commit comments