Skip to content

Commit

Permalink
Rename run-hooks subdir to better show the test meaning
Browse files Browse the repository at this point in the history
  • Loading branch information
mathbunnyru committed Nov 4, 2023
1 parent 0ad837a commit 8c874a1
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/docker-stacks-foundation/test_run_hooks.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,14 +97,14 @@ def run_source_in_dir(
)


def test_run_hooks_with_files(container: TrackedContainer) -> None:
def test_run_hooks_executables(container: TrackedContainer) -> None:
logs = run_source_in_dir(
container,
subdir="run-hooks-data",
subdir="run-hooks-executables",
command_suffix="&& echo SOME_VAR is ${SOME_VAR}",
)

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

Expand Down

0 comments on commit 8c874a1

Please sign in to comment.