From f49029aeed8fd2bbeece906035f986cfcaaa4969 Mon Sep 17 00:00:00 2001 From: Daniel Date: Mon, 11 Dec 2023 00:14:13 +0100 Subject: [PATCH] add docstring --- pytest_abra/utils.py | 1 + 1 file changed, 1 insertion(+) 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)