Remove placeboify from unit tests that are not calling AWS (i.e. creating a recording) (#45754)

This commit is contained in:
Sloane Hertel 2018-09-17 18:17:43 -04:00 committed by GitHub
parent 5467ac3454
commit 2167ce6cb6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 6 deletions

View file

@ -120,7 +120,7 @@ def test_get_nonexistent_stack(placeboify):
assert cfn_module.get_stack_facts(connection, 'ansible-test-nonexist') is None
def test_missing_template_body(placeboify):
def test_missing_template_body():
m = FakeModule()
with pytest.raises(Exception, message='Expected module to fail with no template') as exc_info:
cfn_module.create_stack(