Skip to content

Commit edefa93

Browse files
committed
test(switch): add case for missing args
1 parent 9c97f75 commit edefa93

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/commands/test_switch.py

+5
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,8 @@ def test_switch_both(mock_commands_config):
5656
mock_commands_config.assert_called_once_with()
5757
assert Config().active_env_name == "e2"
5858
assert Config().active_participant_id == "p2"
59+
60+
61+
def test_switch_none():
62+
with pytest.raises(ValueError):
63+
switch()

0 commit comments

Comments
 (0)