We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16b3fcb commit 21ecc1eCopy full SHA for 21ecc1e
tests/test_cli.py
@@ -734,7 +734,9 @@ def test_shell_plus(
734
)
735
def test_convert(cli_args, tmpdir, monkeypatch):
736
# create dummy tmuxp yaml so we don't get yelled at
737
- filename = '.tmuxp.yaml' if cli_args[1] == '.' else cli_args[1]
+ filename = cli_args[1]
738
+ if filename == '.':
739
+ filename = '.tmuxp.yaml'
740
file_ext = filename.rsplit('.', 1)[-1]
741
assert file_ext in ['yaml', 'yml'], file_ext
742
tmpdir.join(filename).write('\nsession_name: hello\n')
0 commit comments