1616from tmuxp .cli import load_plugins
1717from tmuxp .workspacebuilder import WorkspaceBuilder
1818
19- from . import EXAMPLE_PATH , FIXTURES_PATH
19+ from .constants import EXAMPLE_PATH , FIXTURE_PATH
2020from .fixtures import utils as test_utils
2121
2222
@@ -597,7 +597,7 @@ def test_before_load_throw_error_if_retcode_error(server):
597597 )
598598 sconfig = kaptan .Kaptan (handler = "yaml" )
599599 yaml = config_script_fails .format (
600- script_failed = FIXTURES_PATH / "script_failed.sh" ,
600+ script_failed = FIXTURE_PATH / "script_failed.sh" ,
601601 )
602602
603603 sconfig = sconfig .import_config (yaml ).get ()
@@ -622,7 +622,7 @@ def test_before_load_throw_error_if_file_not_exists(server):
622622 )
623623 sconfig = kaptan .Kaptan (handler = "yaml" )
624624 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" ,
626626 )
627627 sconfig = sconfig .import_config (yaml ).get ()
628628 sconfig = config .expand (sconfig )
@@ -645,7 +645,7 @@ def test_before_load_true_if_test_passes(server):
645645 config_script_completes = test_utils .read_config_file (
646646 "workspacebuilder/config_script_completes.yaml"
647647 )
648- script_complete_sh = FIXTURES_PATH / "script_complete.sh"
648+ script_complete_sh = FIXTURE_PATH / "script_complete.sh"
649649 assert script_complete_sh .exists ()
650650 sconfig = kaptan .Kaptan (handler = "yaml" )
651651 yaml = config_script_completes .format (
@@ -666,7 +666,7 @@ def test_before_load_true_if_test_passes_with_args(server):
666666 config_script_completes = test_utils .read_config_file (
667667 "workspacebuilder/config_script_completes.yaml"
668668 )
669- script_complete_sh = FIXTURES_PATH / "script_complete.sh"
669+ script_complete_sh = FIXTURE_PATH / "script_complete.sh"
670670 assert script_complete_sh .exists ()
671671 sconfig = kaptan .Kaptan (handler = "yaml" )
672672 yaml = config_script_completes .format (script_complete = script_complete_sh )
0 commit comments