@@ -452,29 +452,37 @@ class CLILoadFixture(t.NamedTuple):
452
452
453
453
TEST_LOAD_FIXTURES = [
454
454
CLILoadFixture (
455
- test_id = "relative-dot-samedir" ,
455
+ test_id = "dir- relative-dot-samedir" ,
456
456
cli_args = ["load" , "." ],
457
457
config_paths = ["{tmp_path}/.tmuxp.yaml" ],
458
458
expected_exit_code = 0 ,
459
459
expected_in_out = None ,
460
460
expected_not_in_out = None ,
461
461
),
462
462
CLILoadFixture (
463
- test_id = "relative-dot-slash-samedir" ,
463
+ test_id = "dir- relative-dot-slash-samedir" ,
464
464
cli_args = ["load" , "./" ],
465
465
config_paths = ["{tmp_path}/.tmuxp.yaml" ],
466
466
expected_exit_code = 0 ,
467
467
expected_in_out = None ,
468
468
expected_not_in_out = None ,
469
469
),
470
470
CLILoadFixture (
471
- test_id = "relative-file-samedir" ,
471
+ test_id = "dir- relative-file-samedir" ,
472
472
cli_args = ["load" , "./.tmuxp.yaml" ],
473
473
config_paths = ["{tmp_path}/.tmuxp.yaml" ],
474
474
expected_exit_code = 0 ,
475
475
expected_in_out = None ,
476
476
expected_not_in_out = None ,
477
477
),
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
+ ),
478
486
]
479
487
480
488
0 commit comments