diff --git a/pytest_abra/utils.py b/pytest_abra/utils.py index 6de521c..407df11 100644 --- a/pytest_abra/utils.py +++ b/pytest_abra/utils.py @@ -51,6 +51,7 @@ def generate_random_string(length: int, punctuation=False) -> str: def load_json_to_environ(cred_file: Path): + """Load the contents of a json file directly into os.environ. Variable names are inherited""" with open(cred_file, "r") as f: CREDENTIALS = json.load(f)