16
16
from tmuxp .cli import load_plugins
17
17
from tmuxp .workspacebuilder import WorkspaceBuilder
18
18
19
- from . import EXAMPLE_PATH , FIXTURES_PATH
19
+ from .constants import EXAMPLE_PATH , FIXTURE_PATH
20
20
from .fixtures import utils as test_utils
21
21
22
22
@@ -597,7 +597,7 @@ def test_before_load_throw_error_if_retcode_error(server):
597
597
)
598
598
sconfig = kaptan .Kaptan (handler = "yaml" )
599
599
yaml = config_script_fails .format (
600
- script_failed = FIXTURES_PATH / "script_failed.sh" ,
600
+ script_failed = FIXTURE_PATH / "script_failed.sh" ,
601
601
)
602
602
603
603
sconfig = sconfig .import_config (yaml ).get ()
@@ -622,7 +622,7 @@ def test_before_load_throw_error_if_file_not_exists(server):
622
622
)
623
623
sconfig = kaptan .Kaptan (handler = "yaml" )
624
624
yaml = config_script_not_exists .format (
625
- script_not_exists = FIXTURES_PATH / "script_not_exists.sh" ,
625
+ script_not_exists = FIXTURE_PATH / "script_not_exists.sh" ,
626
626
)
627
627
sconfig = sconfig .import_config (yaml ).get ()
628
628
sconfig = config .expand (sconfig )
@@ -645,7 +645,7 @@ def test_before_load_true_if_test_passes(server):
645
645
config_script_completes = test_utils .read_config_file (
646
646
"workspacebuilder/config_script_completes.yaml"
647
647
)
648
- script_complete_sh = FIXTURES_PATH / "script_complete.sh"
648
+ script_complete_sh = FIXTURE_PATH / "script_complete.sh"
649
649
assert script_complete_sh .exists ()
650
650
sconfig = kaptan .Kaptan (handler = "yaml" )
651
651
yaml = config_script_completes .format (
@@ -666,7 +666,7 @@ def test_before_load_true_if_test_passes_with_args(server):
666
666
config_script_completes = test_utils .read_config_file (
667
667
"workspacebuilder/config_script_completes.yaml"
668
668
)
669
- script_complete_sh = FIXTURES_PATH / "script_complete.sh"
669
+ script_complete_sh = FIXTURE_PATH / "script_complete.sh"
670
670
assert script_complete_sh .exists ()
671
671
sconfig = kaptan .Kaptan (handler = "yaml" )
672
672
yaml = config_script_completes .format (script_complete = script_complete_sh )
0 commit comments