various #16

Merged
dan merged 94 commits from various into dev 2023-12-14 14:04:01 +01:00
Showing only changes of commit aba66158a1 - Show all commits

View file

@ -1,10 +1,10 @@
import json
import os
import subprocess
from pathlib import Path
import pytest
from pytest_abra.utils import load_json_to_environ
@pytest.fixture(scope="session")
def session_tmp_path_testout(tmp_path_factory: pytest.TempPathFactory) -> Path:
@ -18,11 +18,7 @@ def test_abratest_cli_full_integration(session_tmp_path_testout: Path):
# --------------------- load credentials to env variables -------------------- #
cred_file = Path("credentials.json")
with open(cred_file, "r") as f:
CREDENTIALS = json.load(f)
for key, value in CREDENTIALS.items():
os.environ[key] = value
load_json_to_environ(cred_file)
# --------------------------------- env files -------------------------------- #