Skip to content

Commit a9682aa

Browse files
authored
Merge pull request #68 from epics-containers/fix-tests
fix merge resolution error
2 parents 0379ac8 + 74dc64b commit a9682aa

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/epics_containers_cli/utils.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,9 @@ def drop_ioc_path(raw_input: str):
8282
typer.echo(f"Extracted ioc name {extracted_ioc} from input: {raw_input}")
8383

8484
return extracted_ioc
85-
85+
86+
87+
@contextlib.contextmanager
8688
def chdir(path):
8789
"""
8890
A simple wrapper around chdir(), it changes the current working directory

tests/test_ioc.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def test_deploy(mock_run, data: Path, ioc):
3232
shutil.copytree(data / "iocs", TMPDIR / "iocs")
3333
mock_run.run_cli("ioc deploy bl45p-ea-ioc-01 2.0")
3434

35-
35+
3636
def test_deploy_path(mock_run, data: Path, ioc):
3737
mock_run.set_seq(ioc.checks + ioc.deploy)
3838
# prep what deploy expects to find after it cloned bl45p repo

0 commit comments

Comments
 (0)