various #16
1 changed files with 5 additions and 2 deletions
|
|
@ -23,7 +23,7 @@ def test_abratest_cli_full_integration(session_tmp_path_testout: Path):
|
|||
|
||||
# --------------------------------- env files -------------------------------- #
|
||||
|
||||
ENV_FILES_ROOT = Path("../envfiles").resolve()
|
||||
ENV_FILES_ROOT = Path("./envfiles").resolve()
|
||||
ENV_FILES = [
|
||||
ENV_FILES_ROOT / "login.test.dev.local-it.cloud.env", # authentik
|
||||
ENV_FILES_ROOT / "blog.test.dev.local-it.cloud.env", # wordpress
|
||||
|
|
@ -33,7 +33,7 @@ def test_abratest_cli_full_integration(session_tmp_path_testout: Path):
|
|||
|
||||
# ----------------------------------- dirs ----------------------------------- #
|
||||
|
||||
RECIPES_DIR = Path("../recipes").resolve()
|
||||
RECIPES_DIR = Path("./recipes").resolve()
|
||||
# OUTPUT_DIR = Path("./test-output").resolve()
|
||||
OUTPUT_DIR = session_tmp_path_testout.resolve()
|
||||
|
||||
|
|
@ -53,6 +53,8 @@ def test_abratest_cli_full_integration(session_tmp_path_testout: Path):
|
|||
]
|
||||
)
|
||||
|
||||
assert result.returncode == 0
|
||||
|
||||
|
||||
@pytest.mark.slow
|
||||
def test_results_abra(session_tmp_path_testout: Path):
|
||||
|
|
@ -61,4 +63,5 @@ def test_results_abra(session_tmp_path_testout: Path):
|
|||
DIR = DirManager(output_dir=OUTPUT_DIR, session_id="abc")
|
||||
all_files = list(DIR.STATUS.rglob("*"))
|
||||
passed_files = list(DIR.STATUS.rglob("passed-*"))
|
||||
assert len(all_files) > 0
|
||||
assert len(all_files) == len(passed_files)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue