Skip to content

Commit bedcbfc

Browse files
committed
!squash more
1 parent eab9bbe commit bedcbfc

File tree

1 file changed

+11
-3
lines changed

1 file changed

+11
-3
lines changed

tests/test_cli.py

+11-3
Original file line numberDiff line numberDiff line change
@@ -452,29 +452,37 @@ class CLILoadFixture(t.NamedTuple):
452452

453453
TEST_LOAD_FIXTURES = [
454454
CLILoadFixture(
455-
test_id="relative-dot-samedir",
455+
test_id="dir-relative-dot-samedir",
456456
cli_args=["load", "."],
457457
config_paths=["{tmp_path}/.tmuxp.yaml"],
458458
expected_exit_code=0,
459459
expected_in_out=None,
460460
expected_not_in_out=None,
461461
),
462462
CLILoadFixture(
463-
test_id="relative-dot-slash-samedir",
463+
test_id="dir-relative-dot-slash-samedir",
464464
cli_args=["load", "./"],
465465
config_paths=["{tmp_path}/.tmuxp.yaml"],
466466
expected_exit_code=0,
467467
expected_in_out=None,
468468
expected_not_in_out=None,
469469
),
470470
CLILoadFixture(
471-
test_id="relative-file-samedir",
471+
test_id="dir-relative-file-samedir",
472472
cli_args=["load", "./.tmuxp.yaml"],
473473
config_paths=["{tmp_path}/.tmuxp.yaml"],
474474
expected_exit_code=0,
475475
expected_in_out=None,
476476
expected_not_in_out=None,
477477
),
478+
CLILoadFixture(
479+
test_id="filename-relative-file-samedir",
480+
cli_args=["load", "./my_config.yaml"],
481+
config_paths=["{tmp_path}/my_config.yaml"],
482+
expected_exit_code=0,
483+
expected_in_out=None,
484+
expected_not_in_out=None,
485+
),
478486
]
479487

480488

0 commit comments

Comments
 (0)