conftest тоже не импортируется, тесты не запускаются, вот такое выдает:
Traceback (most recent call last):
File “C:\PyCharm 4.0.5\helpers\pycharm\pytestrunner.py”, line 58, in
main()
File “C:\PyCharm 4.0.5\helpers\pycharm\pytestrunner.py”, line 31, in main
pluginmanager=_pluginmanager, args=args)
File “C:\PycharmProjects\palto-deti\ENV\lib\site-packages_pytest\vendored_packages\pluggy.py”, line 724, in call
return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)
File “C:\PycharmProjects\palto-deti\ENV\lib\site-packages_pytest\vendored_packages\pluggy.py”, line 338, in _hookexec
return self._inner_hookexec(hook, methods, kwargs)
File “C:\PycharmProjects\palto-deti\ENV\lib\site-packages_pytest\vendored_packages\pluggy.py”, line 333, in
_MultiCall(methods, kwargs, hook.spec_opts).execute()
File “C:\PycharmProjects\palto-deti\ENV\lib\site-packages_pytest\vendored_packages\pluggy.py”, line 595, in execute
return _wrapped_call(hook_impl.function(*args), self.execute)
File “C:\PycharmProjects\palto-deti\ENV\lib\site-packages_pytest\vendored_packages\pluggy.py”, line 249, in _wrapped_call
wrap_controller.send(call_outcome)
File “C:\PycharmProjects\palto-deti\ENV\lib\site-packages_pytest\helpconfig.py”, line 28, in pytest_cmdline_parse
config = outcome.get_result()
File “C:\PycharmProjects\palto-deti\ENV\lib\site-packages_pytest\vendored_packages\pluggy.py”, line 279, in get_result
_reraise(*ex) # noqa
File “C:\PycharmProjects\palto-deti\ENV\lib\site-packages_pytest\vendored_packages\pluggy.py”, line 264, in init
self.result = func()
File “C:\PycharmProjects\palto-deti\ENV\lib\site-packages_pytest\vendored_packages\pluggy.py”, line 596, in execute
res = hook_impl.function(*args)
File “C:\PycharmProjects\palto-deti\ENV\lib\site-packages_pytest\config.py”, line 861, in pytest_cmdline_parse
self.parse(args)
File “C:\PycharmProjects\palto-deti\ENV\lib\site-packages_pytest\config.py”, line 966, in parse
self._preparse(args, addopts=addopts)
File “C:\PycharmProjects\palto-deti\ENV\lib\site-packages_pytest\config.py”, line 937, in _preparse
args=args, parser=self._parser)
File “C:\PycharmProjects\palto-deti\ENV\lib\site-packages_pytest\vendored_packages\pluggy.py”, line 724, in call
return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs)
File “C:\PycharmProjects\palto-deti\ENV\lib\site-packages_pytest\vendored_packages\pluggy.py”, line 338, in _hookexec
return self._inner_hookexec(hook, methods, kwargs)
File “C:\PycharmProjects\palto-deti\ENV\lib\site-packages_pytest\vendored_packages\pluggy.py”, line 333, in
_MultiCall(methods, kwargs, hook.spec_opts).execute()
File “C:\PycharmProjects\palto-deti\ENV\lib\site-packages_pytest\vendored_packages\pluggy.py”, line 595, in execute
return _wrapped_call(hook_impl.function(*args), self.execute)
File “C:\PycharmProjects\palto-deti\ENV\lib\site-packages_pytest\vendored_packages\pluggy.py”, line 253, in _wrapped_call
return call_outcome.get_result()
File “C:\PycharmProjects\palto-deti\ENV\lib\site-packages_pytest\vendored_packages\pluggy.py”, line 279, in get_result
_reraise(*ex) # noqa
File “C:\PycharmProjects\palto-deti\ENV\lib\site-packages_pytest\vendored_packages\pluggy.py”, line 264, in init
self.result = func()
File “C:\PycharmProjects\palto-deti\ENV\lib\site-packages_pytest\vendored_packages\pluggy.py”, line 596, in execute
res = hook_impl.function(*args)
File “C:\PycharmProjects\palto-deti\ENV\lib\site-packages_pytest\config.py”, line 907, in pytest_load_initial_conftests
self.pluginmanager._set_initial_conftests(early_config.known_args_namespace)
File “C:\PycharmProjects\palto-deti\ENV\lib\site-packages_pytest\config.py”, line 266, in _set_initial_conftests
self._try_load_conftest(anchor)
File “C:\PycharmProjects\palto-deti\ENV\lib\site-packages_pytest\config.py”, line 272, in _try_load_conftest
self._getconftestmodules(anchor)
File “C:\PycharmProjects\palto-deti\ENV\lib\site-packages_pytest\config.py”, line 286, in _getconftestmodules
clist = self._getconftestmodules(path.dirpath())
File “C:\PycharmProjects\palto-deti\ENV\lib\site-packages_pytest\config.py”, line 297, in _getconftestmodules
mod = self._importconftest(conftestpath)
File “C:\PycharmProjects\palto-deti\ENV\lib\site-packages_pytest\config.py”, line 322, in _importconftest
raise ConftestImportFailure(conftestpath, sys.exc_info())
_pytest.config.ConftestImportFailure: (local(‘C:\PycharmProjects\palto-deti\conftest.py’), (<type ‘exceptions.TypeError’>, TypeError(‘fixture() takes no arguments (1 given)’,), <traceback object at 0x0333C670>))