Skip to content

Commit 8c874a1

Browse files
committed
Rename run-hooks subdir to better show the test meaning
1 parent 0ad837a commit 8c874a1

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

tests/docker-stacks-foundation/test_run_hooks.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -97,14 +97,14 @@ def run_source_in_dir(
9797
)
9898

9999

100-
def test_run_hooks_with_files(container: TrackedContainer) -> None:
100+
def test_run_hooks_executables(container: TrackedContainer) -> None:
101101
logs = run_source_in_dir(
102102
container,
103-
subdir="run-hooks-data",
103+
subdir="run-hooks-executables",
104104
command_suffix="&& echo SOME_VAR is ${SOME_VAR}",
105105
)
106106

107-
assert "Executable python file was successfully" in logs
107+
assert "Executable python file was successfully run" in logs
108108
assert "Ignoring non-executable: /home/jovyan/data-copy//non_executable.py" in logs
109109
assert "SOME_VAR is 123" in logs
110110

0 commit comments

Comments
 (0)