Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
LeonLuttenberger committed Jul 18, 2024
1 parent 85223ed commit 27d8395
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions test/unit-test/test_models.py
Original file line number Diff line number Diff line change
Expand Up @@ -573,9 +573,13 @@ def test_module_manifest_with_env_var_resolution_in_path():
"""
)

with mock.patch.dict(os.environ, {
"GIT_URL": "https://github.com/awslabs/module-repo.git",
"GIT_BRANCH": "main",
}, clear=True):
with mock.patch.dict(
os.environ,
{
"GIT_URL": "https://github.com/awslabs/module-repo.git",
"GIT_BRANCH": "main",
},
clear=True,
):
module = ModuleManifest(**module_yaml)
assert module.path == "git::https://github.com/awslabs/module-repo.git//modules/module-name/?ref=main"

0 comments on commit 27d8395

Please sign in to comment.