def test__pytest_adoption__adds_spec_option(self): pytest_addoption(self.mock) self.mock.assert_has_calls([ call.getgroup().addoption( '--spec', action='store_true', dest='spec', help='Print test result in specification format') ])
def test__pytest_adoption__adds_spec_option(self): pytest_addoption(self.mock) self.mock.assert_has_calls(call.getgroup().addoption('--spec', action='store_true', dest='spec', help='Print test result in specification format'))
def test__pytest_adoption__gets_general_group(self): pytest_addoption(self.mock) self.mock.assert_has_calls(call.getgroup('general'))
def test__pytest_adoption__gets_general_group(self): pytest_addoption(self.mock) self.mock.assert_has_calls([call.getgroup('general')])