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

test_postgres: fix typos

This commit is contained in:
Andrey Klychkov 2019-05-30 16:50:40 +03:00 committed by Toshio Kuratomi
parent 01ed7a489a
commit bf25889bfd

View file

@ -102,8 +102,8 @@ class TestEnsureReqLibs():
1. value of err_msg attribute of m_ansible_module mock object. 1. value of err_msg attribute of m_ansible_module mock object.
""" """
@pytest.fixture @pytest.fixture(scope='class')
def m_ansible_module(self, scope='class'): def m_ansible_module(self):
"""Return an object of dummy AnsibleModule class.""" """Return an object of dummy AnsibleModule class."""
class Dummym_ansible_module(): class Dummym_ansible_module():
def __init__(self): def __init__(self):
@ -168,8 +168,8 @@ class TestConnectToDb():
2. Types of return objects (db_connection and cursor). 2. Types of return objects (db_connection and cursor).
""" """
@pytest.fixture @pytest.fixture(scope='class')
def m_ansible_module(self, scope='class'): def m_ansible_module(self):
"""Return an object of dummy AnsibleModule class.""" """Return an object of dummy AnsibleModule class."""
class DummyAnsibleModule(): class DummyAnsibleModule():
def __init__(self): def __init__(self):