Skip to content

Commit 1bd0574

Browse files
committed
!see if this fits across python versions
1 parent 99aac7b commit 1bd0574

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

tests/test_cli.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ class SyncFixture(t.NamedTuple):
125125
test_id="empty",
126126
sync_args=[],
127127
expected_exit_code=0,
128-
expected_in_out=["options:", "positional arguments:"],
128+
expected_in_out=["{sync", "positional arguments:"],
129129
),
130130
# Version
131131
SyncFixture(
@@ -145,13 +145,13 @@ class SyncFixture(t.NamedTuple):
145145
test_id="--help",
146146
sync_args=["--help"],
147147
expected_exit_code=0,
148-
expected_in_out=["options:", "positional arguments:"],
148+
expected_in_out=["{sync", "positional arguments:"],
149149
),
150150
SyncFixture(
151151
test_id="-h",
152152
sync_args=["-h"],
153153
expected_exit_code=0,
154-
expected_in_out=["options:", "positional arguments:"],
154+
expected_in_out=["{sync", "positional arguments:"],
155155
),
156156
# Sync
157157
SyncFixture(
@@ -168,14 +168,14 @@ class SyncFixture(t.NamedTuple):
168168
test_id="sync---help",
169169
sync_args=["sync", "--help"],
170170
expected_exit_code=0,
171-
expected_in_out=["options:", "repo_terms", "--exit-on-error"],
171+
expected_in_out=["repo_terms", "--exit-on-error"],
172172
expected_not_in_out="--version",
173173
),
174174
SyncFixture(
175175
test_id="sync--h",
176176
sync_args=["sync", "-h"],
177177
expected_exit_code=0,
178-
expected_in_out=["options:", "repo_terms", "--exit-on-error"],
178+
expected_in_out=["repo_terms", "--exit-on-error"],
179179
expected_not_in_out="--version",
180180
),
181181
# Sync: Repo terms

0 commit comments

Comments
 (0)