Skip to content

Commit a99b755

Browse files
committed
tests(workspacebuilder): Remove unused formatting
1 parent fcc2bb8 commit a99b755

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

tests/test_workspacebuilder.py

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -589,7 +589,6 @@ def test_before_load_throw_error_if_retcode_error(server):
589589
config_script_fails = load_fixture("workspacebuilder/config_script_fails.yaml")
590590
sconfig = kaptan.Kaptan(handler="yaml")
591591
yaml = config_script_fails.format(
592-
fixtures_dir=FIXTURES_PATH,
593592
script_failed=FIXTURES_PATH / "script_failed.sh",
594593
)
595594

@@ -615,7 +614,6 @@ def test_before_load_throw_error_if_file_not_exists(server):
615614
)
616615
sconfig = kaptan.Kaptan(handler="yaml")
617616
yaml = config_script_not_exists.format(
618-
fixtures_dir=FIXTURES_PATH,
619617
script_not_exists=FIXTURES_PATH / "script_not_exists.sh",
620618
)
621619
sconfig = sconfig.import_config(yaml).get()
@@ -643,7 +641,6 @@ def test_before_load_true_if_test_passes(server):
643641
assert script_complete_sh.exists()
644642
sconfig = kaptan.Kaptan(handler="yaml")
645643
yaml = config_script_completes.format(
646-
fixtures_dir=FIXTURES_PATH,
647644
script_complete=script_complete_sh,
648645
)
649646

@@ -664,9 +661,7 @@ def test_before_load_true_if_test_passes_with_args(server):
664661
script_complete_sh = FIXTURES_PATH / "script_complete.sh"
665662
assert script_complete_sh.exists()
666663
sconfig = kaptan.Kaptan(handler="yaml")
667-
yaml = config_script_completes.format(
668-
fixtures_dir=FIXTURES_PATH, script_complete=script_complete_sh
669-
)
664+
yaml = config_script_completes.format(script_complete=script_complete_sh)
670665

671666
sconfig = sconfig.import_config(yaml).get()
672667
sconfig = config.expand(sconfig)

0 commit comments

Comments
 (0)