Skip to content

Commit

Permalink
feat - use the name parameter as the name of the fixture (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
yanongena authored Sep 1, 2022
1 parent 08c03e1 commit 277f233
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pytest_terraform/tf.py
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ def __call__(
PytestConfig.resolve(),
)
self._fixtures.append(tfix)
marker = pytest.fixture(scope=scope, name=terraform_dir)
marker = pytest.fixture(scope=scope, name=name)
f.f_locals[name] = marker(tfix)
return self.nonce_decorator

Expand Down

0 comments on commit 277f233

Please sign in to comment.