File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -270,14 +270,15 @@ def test_load_workspace(server, monkeypatch):
270270
271271
272272def test_regression_00132_session_name_with_dots (tmpdir , server , session ):
273- server .new_session ('any session' )
274273 yaml_config = curjoin ("workspacebuilder/regression_00132_dots.yaml" )
275274 cli_args = [yaml_config ]
276- inputs = [' \n ' ]
275+ inputs = []
277276 runner = CliRunner ()
278277 result = runner .invoke (
279- cli .command_load , cli_args , input = '' .join (inputs ))
280- assert 'already running' not in result .output
278+ cli .command_load , cli_args , input = '' .join (inputs ),
279+ standalone_mode = False )
280+ assert result .exception
281+ assert isinstance (result .exception , libtmux .exc .BadSessionName )
281282
282283
283284@pytest .mark .parametrize ("cli_args" , [
You can’t perform that action at this time.
0 commit comments