1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Fix PEP 8 issues.

This commit is contained in:
Matt Clay 2017-03-31 14:21:54 -07:00
parent 2c9543e0b7
commit 11138abc51
2 changed files with 5 additions and 2 deletions

View file

@ -125,6 +125,7 @@ def basic_launch_config():
return return
raise raise
@pytest.fixture(scope='module') @pytest.fixture(scope='module')
def scratch_vpc(): def scratch_vpc():
if not os.getenv('PLACEBO_RECORD'): if not os.getenv('PLACEBO_RECORD'):
@ -187,6 +188,7 @@ def scratch_vpc():
return return
raise raise
@pytest.fixture(scope='module') @pytest.fixture(scope='module')
def maybe_sleep(): def maybe_sleep():
"""If placebo is reading saved sessions, make sleep always take 0 seconds. """If placebo is reading saved sessions, make sleep always take 0 seconds.

View file

@ -44,6 +44,7 @@ bad_json_tpl = """{
} }
}""" }"""
class FakeModule(object): class FakeModule(object):
def __init__(self, **kwargs): def __init__(self, **kwargs):
self.params = kwargs self.params = kwargs