From bf25889bfd129884dbf0793562650a281ab3c3fd Mon Sep 17 00:00:00 2001 From: Andrey Klychkov Date: Thu, 30 May 2019 16:50:40 +0300 Subject: [PATCH] test_postgres: fix typos --- test/units/module_utils/postgresql/test_postgres.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test/units/module_utils/postgresql/test_postgres.py b/test/units/module_utils/postgresql/test_postgres.py index 0f5d4260c2..a895106aa8 100644 --- a/test/units/module_utils/postgresql/test_postgres.py +++ b/test/units/module_utils/postgresql/test_postgres.py @@ -102,8 +102,8 @@ class TestEnsureReqLibs(): 1. value of err_msg attribute of m_ansible_module mock object. """ - @pytest.fixture - def m_ansible_module(self, scope='class'): + @pytest.fixture(scope='class') + def m_ansible_module(self): """Return an object of dummy AnsibleModule class.""" class Dummym_ansible_module(): def __init__(self): @@ -168,8 +168,8 @@ class TestConnectToDb(): 2. Types of return objects (db_connection and cursor). """ - @pytest.fixture - def m_ansible_module(self, scope='class'): + @pytest.fixture(scope='class') + def m_ansible_module(self): """Return an object of dummy AnsibleModule class.""" class DummyAnsibleModule(): def __init__(self):