Skip to content

Commit 75e97f1

Browse files
author
Tim Huff
committed
fixing a broken test
1 parent cccccd3 commit 75e97f1

1 file changed

Lines changed: 9 additions & 11 deletions

File tree

test/unit/test_cli.py

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -117,17 +117,15 @@ def test_version():
117117

118118

119119
def test_experimental_subcommand():
120-
# Both 'experimental' and 'exp' should resolve to the same subcommand group
121-
for alias in ("experimental", "exp"):
122-
completed_process = subprocess.run(
123-
["groundlight", alias, "--help"],
124-
stdout=subprocess.PIPE,
125-
stderr=subprocess.PIPE,
126-
text=True,
127-
check=False,
128-
)
129-
assert completed_process.returncode == 0
130-
assert "list-priming-groups" in completed_process.stdout
120+
completed_process = subprocess.run(
121+
["groundlight", "exp", "--help"],
122+
stdout=subprocess.PIPE,
123+
stderr=subprocess.PIPE,
124+
text=True,
125+
check=False,
126+
)
127+
assert completed_process.returncode == 0
128+
assert "list-priming-groups" in completed_process.stdout
131129

132130

133131
def test_bad_commands():

0 commit comments

Comments
 (0)