We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When running tox, I get lots of failures with the py27-xdist environment:
tox
py27-xdist
============================ FAILURES ============================ ___________________________ test_steps ___________________________ [gw2] linux2 -- Python 2.7.10 /home/florian/proj/pytest-bdd/.tox/py27-xdist/bin/python2.7 request = <FixtureRequest for <Function 'test_steps'>> @scenario_args('Every step takes a parameter with the same name') > def test_steps(): request = <FixtureRequest for <Function 'test_steps'>> tests/args/parse/test_args.py:22: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ pytest_bdd/scenario.py:151: in _execute_scenario scenario=scenario, .tox/py27-xdist/lib/python2.7/site-packages/_pytest/vendored_packages/pluggy.py:724: in __call__ return self._hookexec(self, self._nonwrappers + self._wrappers, kwargs) .tox/py27-xdist/lib/python2.7/site-packages/_pytest/vendored_packages/pluggy.py:338: in _hookexec return self._inner_hookexec(hook, methods, kwargs) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ hook = <_HookCaller 'pytest_bdd_before_scenario'> methods = [<_pytest.vendored_packages.pluggy.HookImpl instance at 0x7f5eead5cf38>] kwargs = {'feature': <pytest_bdd.feature.Feature object at 0x7f5eea586290>, 'request': <FixtureRequest for <Function 'test_steps'>>, 'scenario': <pytest_bdd.feature.Scenario object at 0x7f5eea586710>} self._inner_hookexec = lambda hook, methods, kwargs: \ > _MultiCall(methods, kwargs, hook.spec_opts).execute() E AttributeError: '_HookCaller' object has no attribute 'spec_opts' hook = <_HookCaller 'pytest_bdd_before_scenario'> kwargs = {'feature': <pytest_bdd.feature.Feature object at 0x7f5eea586290>, 'request': <FixtureRequest for <Function 'test_steps'>>, 'scenario': <pytest_bdd.feature.Scenario object at 0x7f5eea586710>} methods = [<_pytest.vendored_packages.pluggy.HookImpl instance at 0x7f5eead5cf38>] .tox/py27-xdist/lib/python2.7/site-packages/_pytest/vendored_packages/pluggy.py:333: AttributeError [...] ============================================================ short test summary info ============================================================= FAIL tests/args/parse/test_args.py::test_steps FAIL tests/args/parse/test_args.py::test_argument_in_when_step_1 FAIL tests/args/cfparse/test_args.py::test_steps FAIL tests/args/cfparse/test_args.py::test_argument_in_when_step_1 FAIL tests/args/parse/test_args.py::test_argument_in_when_step_2 FAIL tests/args/cfparse/test_args.py::test_argument_in_when_step_2 FAIL tests/args/cfparse/test_args.py::test_multiple_given FAIL tests/args/parse/test_args.py::test_multiple_given FAIL tests/args/subfolder/test_args.py::test_steps FAIL tests/args/regex/test_args.py::test_steps FAIL tests/feature/test_alias.py::test_steps FAIL tests/feature/test_multiline.py::test_multiline[ Scenario: Multiline step using sub indentation Given I have a step with: Some Extra Lines Then the text should be parsed with correct indentation -Some Extra Lines] FAIL tests/feature/test_background.py::test_background_basic FAIL tests/args/regex/test_args.py::test_argument_in_when_step_1 FAIL tests/feature/test_background.py::test_background_check_order FAIL tests/feature/test_multiline.py::test_multiline[ Scenario: Multiline step using sub indentation Given I have a step with: Some Extra Lines Then the text should be parsed with correct indentation - Some Extra Lines] FAIL tests/args/regex/test_args.py::test_argument_in_when_step_2 FAIL tests/feature/test_multiline.py::test_multiline[ Feature: Scenario: Multiline step using sub indentation Given I have a step with: Some Extra Lines -Some Extra Lines] FAIL tests/args/regex/test_args.py::test_multiple_given FAIL tests/feature/test_multiline.py::test_multiline_wrong_indent FAIL tests/feature/test_outline.py::test_outlined_with_other_fixtures[1-12-5.0-7] FAIL tests/feature/test_description.py::test_description FAIL tests/feature/test_outline.py::test_outlined_with_other_fixtures[1-5-4.0-1] FAIL tests/feature/test_outline.py::test_outlined[12-5.0-7] FAIL tests/feature/test_outline.py::test_outlined_feature[12-5.0-7-oranges] FAIL tests/feature/test_outline.py::test_outlined_with_other_fixtures[2-12-5.0-7] FAIL tests/feature/test_outline.py::test_outlined_feature[12-5.0-7-apples] FAIL tests/feature/test_outline.py::test_outlined[5-4.0-1] FAIL tests/feature/test_outline.py::test_outlined_feature[5-4.0-1-oranges] FAIL tests/feature/test_outline.py::test_outlined_with_other_fixtures[2-5-4.0-1] FAIL tests/feature/test_outline.py::test_outlined_feature[5-4.0-1-apples] FAIL tests/feature/test_outline.py::test_outlined_with_other_fixtures[3-12-5.0-7] FAIL tests/feature/test_parametrized.py::test_parametrized[12-5-7] FAIL tests/feature/test_parametrized.py::test_parametrized_with_other_fixtures[1-12-5-7] FAIL tests/feature/test_outline.py::test_outlined_with_other_fixtures[3-5-4.0-1] FAIL tests/feature/test_parametrized.py::test_parametrized_with_other_fixtures[2-12-5-7] FAIL tests/feature/test_steps.py::test_conftest FAIL tests/feature/test_outline.py::test_vertical_example[12-5.0-7] FAIL tests/feature/test_steps.py::test_multiple_given FAIL tests/feature/test_outline.py::test_vertical_example[2-1.0-1] FAIL tests/feature/test_reuse.py::test_reuse FAIL tests/feature/test_same_function_name.py::test_when_function_name_same_as_step_name FAIL tests/feature/test_steps.py::test_steps FAIL tests/feature/test_scenario.py::test_scenario_comments FAIL tests/feature/test_steps.py::test_when_first FAIL tests/feature/test_steps.py::test_then_after_given FAIL tests/feature/test_tags.py::test_tags FAIL tests/feature/test_wrong.py::test_wrong_type_order[When in Given] FAIL tests/feature/test_wrong.py::test_wrong_type_order[When in Then] FAIL tests/feature/test_wrong.py::test_wrong_type_order[Then in Given] FAIL tests/steps/test_given.py::test_given_with_fixture FAIL tests/feature/test_wrong.py::test_wrong_type_order[Given in When] FAIL tests/steps/test_given.py::test_root_alias FAIL tests/steps/test_given.py::test_given_injection FAIL tests/steps/test_given.py::test_session_given FAIL tests/feature/test_wrong.py::test_wrong_type_order[Given in Then] FAIL tests/steps/test_unicode.py::test_steps_in_feature_file_have_unicode FAIL tests/feature/test_wrong.py::test_wrong_type_order[Then in When] FAIL tests/steps/test_unicode.py::test_steps_in_py_file_have_unicode ============================================ 59 failed, 117 passed, 2 pytest-warnings in 3.89 seconds ===========================================
The text was updated successfully, but these errors were encountered:
This one seems not yet fixed in pytest-dev/pytest#1062
Sorry, something went wrong.
@The-Compiler still an issue?
Can't reproduce this anymore!
No branches or pull requests
When running
tox
, I get lots of failures with thepy27-xdist
environment:The text was updated successfully, but these errors were encountered: