GLOB sdist-make: /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/setup.py py36 create: /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36 py36 installdeps: .[tests_require] py36 inst: /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/.tmp/package/1/pytest_eucalyptus-0.3.3.zip py36 installed: alabaster==0.7.12,ansicolors==1.1.8,astroid==2.4.2,attrs==20.1.0,Babel==2.8.0,certifi==2020.6.20,chardet==3.0.4,colorama==0.4.3,coverage==5.2.1,docutils==0.16,factory-boy==3.0.1,Faker==4.1.2,future==0.18.2,gherkin-official==4.1.3,idna==2.10,imagesize==1.2.0,importlib-metadata==1.7.0,iniconfig==1.0.1,isort==5.4.2,Jinja2==2.11.2,lazy-object-proxy==1.4.3,MarkupSafe==1.1.1,mccabe==0.6.1,mock==4.0.2,more-itertools==8.5.0,packaging==20.4,pluggy==0.13.1,py==1.9.0,pycodestyle==2.6.0,Pygments==2.6.1,pylint==2.6.0,pyparsing==2.4.7,pytest==6.0.1,pytest-cov==2.5.1,pytest-eucalyptus @ file:///tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/.tmp/package/1/pytest_eucalyptus-0.3.3.zip,python-dateutil==2.8.1,pytz==2020.1,repoze.lru==0.7,requests==2.24.0,setuptools-scm==4.1.2,six==1.15.0,snowballstemmer==2.0.0,Sphinx==3.2.1,sphinxcontrib-applehelp==1.0.2,sphinxcontrib-devhelp==1.0.2,sphinxcontrib-htmlhelp==1.0.3,sphinxcontrib-jsmath==1.0.1,sphinxcontrib-qthelp==1.0.3,sphinxcontrib-serializinghtml==1.1.4,text-unidecode==1.3,toml==0.10.1,typed-ast==1.4.1,urllib3==1.25.10,wrapt==1.12.1,zipp==3.1.0 py36 run-test-pre: PYTHONHASHSEED='1480347983' py36 run-test: commands[0] | pytest tests -vvv --cov=aloe --cov=pytest_eucalyptus --cov-report=xml --cov-fail-under=90 ============================= test session starts ============================== platform linux -- Python 3.6.7, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 -- /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/bin/python cachedir: .tox/py36/.pytest_cache rootdir: /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3, configfile: pytest.ini plugins: Faker-4.1.2, cov-2.5.1 collecting ... collected 153 items tests/functional/test_callbacks.py::CallbackTest::test_all_callbacks FAILED [ 0%] tests/functional/test_callbacks.py::CallbackTest::test_behave_as FAILED [ 1%] tests/functional/test_callbacks.py::CallbackTest::test_behave_as_ru FAILED [ 1%] tests/functional/test_callbacks.py::CallbackTest::test_example_callbacks FAILED [ 2%] tests/functional/test_callbacks.py::CallbackTest::test_feature_callbacks FAILED [ 3%] tests/functional/test_callbacks.py::CallbackTest::test_relative_order FAILED [ 3%] tests/functional/test_callbacks.py::CallbackTest::test_step_callbacks FAILED [ 4%] tests/functional/test_callbacks.py::CallbackTest::test_step_failed FAILED [ 5%] tests/functional/test_callbacks.py::CallbackTest::test_testcase_methods FAILED [ 5%] tests/functional/test_callbacks.py::MultipleDirectoriesCallbackTest::test_multiple_apps SKIPPED [ 6%] tests/functional/test_callbacks.py::MultipleDirectoriesCallbackTest::test_single_app SKIPPED [ 7%] tests/functional/test_factoryboy.py::FactoryBoyTest::test_factoryboy FAILED [ 7%] tests/functional/test_outputter.py::OutputterTest::test_color_output SKIPPED [ 8%] tests/functional/test_outputter.py::OutputterTest::test_customized_color_output SKIPPED [ 9%] tests/functional/test_outputter.py::OutputterTest::test_full_color_output_no_mocks SKIPPED [ 9%] tests/functional/test_outputter.py::OutputterTest::test_tty_output SKIPPED [ 10%] tests/functional/test_outputter.py::OutputterTest::test_uncolored_output SKIPPED [ 11%] tests/functional/test_simple.py::SimpleScenarioTest::test_background FAILED [ 11%] tests/functional/test_simple.py::SimpleScenarioTest::test_error_message FAILED [ 12%] tests/functional/test_simple.py::SimpleScenarioTest::test_error_message_background FAILED [ 13%] tests/functional/test_simple.py::SimpleScenarioTest::test_error_message_outline FAILED [ 13%] tests/functional/test_simple.py::SimpleScenarioTest::test_exact_match FAILED [ 14%] tests/functional/test_simple.py::SimpleScenarioTest::test_failure PASSED [ 15%] tests/functional/test_simple.py::SimpleScenarioTest::test_failure_zh FAILED [ 15%] tests/functional/test_simple.py::SimpleScenarioTest::test_outlines FAILED [ 16%] tests/functional/test_simple.py::SimpleScenarioTest::test_python_test_skipped PASSED [ 16%] tests/functional/test_simple.py::SimpleScenarioTest::test_scenario_indices FAILED [ 17%] tests/functional/test_simple.py::SimpleScenarioTest::test_step_not_found FAILED [ 18%] tests/functional/test_simple.py::SimpleScenarioTest::test_step_not_found_zh FAILED [ 18%] tests/functional/test_simple.py::SimpleScenarioTest::test_success FAILED [ 19%] tests/functional/test_simple.py::SimpleScenarioTest::test_success_zh FAILED [ 20%] tests/functional/test_simple.py::SimpleScenarioTest::test_tags FAILED [ 20%] tests/functional/test_simple.py::BadStepsTest::test_normal_import_error SKIPPED [ 21%] tests/functional/test_simple.py::BadStepsTest::test_parent_import_error SKIPPED [ 22%] tests/functional/test_step_loading.py::StepLoadingTest::test_all_features SKIPPED [ 22%] tests/functional/test_step_loading.py::StepLoadingTest::test_single_feature SKIPPED [ 23%] tests/functional/test_step_loading.py::StepLoadingTest::test_subdirectory_feature SKIPPED [ 24%] tests/functional/test_symlink_follow.py::SymlinkLoadingTest::test_symlinked_feature SKIPPED [ 24%] tests/unit/test_codegen.py::TestCodegen::test_functions PASSED [ 25%] tests/unit/test_codegen.py::TestCodegen::test_not_functions PASSED [ 26%] tests/unit/test_codegen.py::TestMultiManager::test_args PASSED [ 26%] tests/unit/test_codegen.py::TestMultiManager::test_empty PASSED [ 27%] tests/unit/test_codegen.py::TestMultiManager::test_exceptions PASSED [ 28%] tests/unit/test_codegen.py::TestMultiManager::test_multi_manager PASSED [ 28%] tests/unit/test_fs.py::PathToModuleNameTest::test_path_to_module_name PASSED [ 29%] tests/unit/test_language_fr.py::test_scenario_fr_from_string PASSED [ 30%] tests/unit/test_language_fr.py::test_scenario_outline1_fr_from_string PASSED [ 30%] tests/unit/test_language_fr.py::test_scenario_outline2_fr_from_string PASSED [ 31%] tests/unit/test_language_fr.py::test_scenario_outline3_fr_from_string PASSED [ 32%] tests/unit/test_language_fr.py::test_feature_fr_from_string PASSED [ 32%] tests/unit/test_language_fr.py::test_feature_fr_from_string2 PASSED [ 33%] tests/unit/test_language_ptbr.py::test_scenario_ptbr_from_string PASSED [ 33%] tests/unit/test_language_ptbr.py::test_scenario_outline1_ptbr_from_string PASSED [ 34%] tests/unit/test_language_ptbr.py::test_scenario_outline2_ptbr_from_string PASSED [ 35%] tests/unit/test_language_ptbr.py::test_feature_ptbr_from_string PASSED [ 35%] tests/unit/test_language_ru.py::test_scenario_ru_from_string PASSED [ 36%] tests/unit/test_language_ru.py::test_scenario_outline1_ru_from_string PASSED [ 37%] tests/unit/test_language_ru.py::test_feature_ru_from_string PASSED [ 37%] tests/unit/test_parser.py::test_feature_has_repr PASSED [ 38%] tests/unit/test_parser.py::test_scenario_has_name PASSED [ 39%] tests/unit/test_parser.py::test_feature_has_scenarios PASSED [ 39%] tests/unit/test_parser.py::test_outline_steps PASSED [ 40%] tests/unit/test_parser.py::test_can_parse_feature_description PASSED [ 41%] tests/unit/test_parser.py::test_scenarios_parsed_by_feature_has_feature PASSED [ 41%] tests/unit/test_parser.py::test_feature_max_length_on_scenario PASSED [ 42%] tests/unit/test_parser.py::test_feature_max_length_on_feature_description PASSED [ 43%] tests/unit/test_parser.py::test_feature_max_length_on_feature_name PASSED [ 43%] tests/unit/test_parser.py::test_feature_max_length_on_step_sentence PASSED [ 44%] tests/unit/test_parser.py::test_feature_max_length_on_step_with_table PASSED [ 45%] tests/unit/test_parser.py::test_feature_max_length_on_step_with_table_keys PASSED [ 45%] tests/unit/test_parser.py::test_feature_max_length_on_scenario_outline PASSED [ 46%] tests/unit/test_parser.py::test_feature_max_length_on_scenario_outline_keys PASSED [ 47%] tests/unit/test_parser.py::test_description_on_long_named_feature PASSED [ 47%] tests/unit/test_parser.py::test_description_on_big_sentenced_steps PASSED [ 48%] tests/unit/test_parser.py::test_comments PASSED [ 49%] tests/unit/test_parser.py::test_single_scenario_single_scenario PASSED [ 49%] tests/unit/test_parser.py::test_single_feature_single_tag PASSED [ 50%] tests/unit/test_parser.py::test_single_scenario_many_scenarios PASSED [ 50%] tests/unit/test_parser.py::test_scenarios_with_extra_whitespace PASSED [ 51%] tests/unit/test_parser.py::test_scenarios_parsing PASSED [ 52%] tests/unit/test_parser.py::test_scenarios_with_special_characters PASSED [ 52%] tests/unit/test_parser.py::test_background_parsing_with_mmf PASSED [ 53%] tests/unit/test_parser.py::test_background_parsing_without_mmf PASSED [ 54%] tests/unit/test_parser.py::test_syntax_error_for_scenarios_with_no_name PASSED [ 54%] tests/unit/test_parser.py::test_syntax_error_malformed_feature PASSED [ 55%] tests/unit/test_parser.py::test_syntax_error_malformed_feature_from_file PASSED [ 56%] tests/unit/test_parser.py::test_scenario_post_email PASSED [ 56%] tests/unit/test_parser.py::test_feature_first_scenario_tag_extraction PASSED [ 57%] tests/unit/test_parser.py::test_feature_first_scenario_tags_extraction PASSED [ 58%] tests/unit/test_registry.py::test_StepDict_raise_StepLoadingError_if_first_argument_is_not_a_regex PASSED [ 58%] tests/unit/test_registry.py::test_StepDict_can_load_a_step_composed_of_a_regex_and_a_function PASSED [ 59%] tests/unit/test_registry.py::test_replacing_step PASSED [ 60%] tests/unit/test_registry.py::test_StepDict_load_a_step_return_the_given_function PASSED [ 60%] tests/unit/test_registry.py::test_StepDict_can_extract_a_step_sentence_from_function_name PASSED [ 61%] tests/unit/test_registry.py::test_StepDict_can_extract_a_step_sentence_from_function_doc PASSED [ 62%] tests/unit/test_registry.py::test_StepDict_can_load_a_step_from_a_function PASSED [ 62%] tests/unit/test_registry.py::test_StepDict_can_load_steps_from_an_object PASSED [ 63%] tests/unit/test_registry.py::test_StepDict_can_exclude_methods_when_load_steps PASSED [ 64%] tests/unit/test_registry.py::test_StepDict_can_exclude_callable_object_when_load_steps PASSED [ 64%] tests/unit/test_registry.py::test_unload_reload PASSED [ 65%] tests/unit/test_registry.py::CallbackDictTest::test_before_after PASSED [ 66%] tests/unit/test_registry.py::CallbackDictTest::test_clear PASSED [ 66%] tests/unit/test_registry.py::CallbackDictTest::test_priority PASSED [ 67%] tests/unit/test_registry.py::CallbackDictTest::test_wrap PASSED [ 67%] tests/unit/test_scenario_parsing.py::test_scenario_has_name PASSED [ 68%] tests/unit/test_scenario_parsing.py::test_scenario_has_repr PASSED [ 69%] tests/unit/test_scenario_parsing.py::test_scenario_has_steps PASSED [ 69%] tests/unit/test_scenario_parsing.py::test_scenario_may_own_outlines PASSED [ 70%] tests/unit/test_scenario_parsing.py::test_steps_parsed_by_scenarios_has_scenarios PASSED [ 71%] tests/unit/test_scenario_parsing.py::test_scenario_sentences_can_be_solved PASSED [ 71%] tests/unit/test_scenario_parsing.py::test_scenario_tables_are_solved_against_outlines PASSED [ 72%] tests/unit/test_scenario_parsing.py::test_scenario_multilines_are_solved_against_outlines PASSED [ 73%] tests/unit/test_scenario_parsing.py::test_solved_steps_also_have_scenario_as_attribute PASSED [ 73%] tests/unit/test_scenario_parsing.py::test_scenario_outlines_within_feature PASSED [ 74%] tests/unit/test_scenario_parsing.py::test_full_featured_feature PASSED [ 75%] tests/unit/test_scenario_parsing.py::test_scenario_with_table_and_no_step_fails SKIPPED [ 75%] tests/unit/test_scenario_parsing.py::test_scenario_ignore_commented_lines_from_examples PASSED [ 76%] tests/unit/test_scenario_parsing.py::test_scenario_aggregate_all_examples_blocks PASSED [ 77%] tests/unit/test_scenario_parsing.py::test_commented_scenarios PASSED [ 77%] tests/unit/test_scenario_parsing.py::test_scenario_with_hash_within_double_quotes PASSED [ 78%] tests/unit/test_scenario_parsing.py::test_scenario_with_hash_within_single_quotes PASSED [ 79%] tests/unit/test_step_parsing.py::test_step_has_repr PASSED [ 79%] tests/unit/test_step_parsing.py::test_can_get_sentence_from_string PASSED [ 80%] tests/unit/test_step_parsing.py::test_can_parse_keys_from_table PASSED [ 81%] tests/unit/test_step_parsing.py::test_can_parse_tables PASSED [ 81%] tests/unit/test_step_parsing.py::test_can_parse_a_unary_array_from_single_step PASSED [ 82%] tests/unit/test_step_parsing.py::test_can_parse_a_unary_array_from_complicated_step PASSED [ 83%] tests/unit/test_step_parsing.py::test_can_parse_regular_step_followed_by_tabular_step PASSED [ 83%] tests/unit/test_step_parsing.py::test_can_parse_tabular_step_followed_by_regular_step PASSED [ 84%] tests/unit/test_step_parsing.py::test_can_parse_two_ordinary_steps PASSED [ 84%] tests/unit/test_step_parsing.py::test_multiline_is_part_of_previous_step PASSED [ 85%] tests/unit/test_step_parsing.py::test_table_escaping PASSED [ 86%] tests/unit/test_step_parsing.py::test_multiline_is_parsed PASSED [ 86%] tests/unit/test_step_parsing.py::test_step_with_hash PASSED [ 87%] tests/unit/test_step_parsing.py::test_comments PASSED [ 88%] tests/unit/test_step_parsing.py::test_multiline_with_hash PASSED [ 88%] tests/unit/test_strings.py::test_represent_table PASSED [ 89%] tests/unit/test_strings.py::test_represent_table_escapes_pipe PASSED [ 90%] tests/unit/test_strings.py::test_represent_table_allows_empty PASSED [ 90%] tests/unit/test_strings.py::test_column_width PASSED [ 91%] tests/unit/test_strings.py::test_column_width_w_number_and_char PASSED [ 92%] tests/unit/test_testing.py::FeatureTestTest::test_run_feature_string_fail PASSED [ 92%] tests/unit/test_testing.py::FeatureTestTest::test_run_feature_string_parse_error PASSED [ 93%] tests/unit/test_testing.py::FeatureTestTest::test_run_good_feature_string FAILED [ 94%] tests/unit/test_testing.py::FeatureTestTest::test_run_good_feature_string_non_ascii FAILED [ 94%] tests/unit/test_tools.py::GuessTypesTest::test_hashes PASSED [ 95%] tests/unit/test_tools.py::GuessTypesTest::test_simple_types PASSED [ 96%] tests/unit/test_tools.py::GuessTypesTest::test_table PASSED [ 96%] tests/unit/test_utils.py::UnwrapTest::test_contextmanager PASSED [ 97%] tests/unit/test_utils.py::UnwrapTest::test_plain_function PASSED [ 98%] tests/unit/test_utils.py::UnwrapTest::test_wraps PASSED [ 98%] tests/unit/test_utils.py::MemoizedTest::test_memoizedproperty PASSED [ 99%] tests/unit/test_utils.py::MemoizedTest::test_memoizedtype PASSED [100%] =================================== FAILURES =================================== _______________________ CallbackTest.test_all_callbacks ________________________ self = def test_all_callbacks(self): """ Test 'all' callbacks. """ self.assert_feature_success('features/all_callbacks_1.feature', > 'features/all_callbacks_2.feature') /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/tests/functional/test_callbacks.py:113: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = features = ('features/all_callbacks_1.feature', 'features/all_callbacks_2.feature') kwargs = {}, result = def assert_feature_success(self, *features, **kwargs): """ Assert that the specified features can be run successfully. """ result = self.run_features(*features, **kwargs) try: > assert result.success E AssertionError /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/tests/testing.py:191: AssertionError ----------------------------- Captured stdout call ----------------------------- --Output-- ============================= test session starts ============================== platform linux -- Python 3.6.7, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 rootdir: /tmp/pytest-of-travis/pytest-16/test_all_callbacks0 plugins: eucalyptus-0.3.3, Faker-4.1.2, cov-2.5.1 collected 0 items / 1 error ==================================== ERRORS ==================================== ________________________ ERROR collecting test session _________________________ /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/hooks.py:286: in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:93: in _hookexec return self._inner_hookexec(hook, methods, kwargs) /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:337: in traced_hookexec return outcome.get_result() /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:335: in outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs)) /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:87: in firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/pytest_eucalyptus/plugin.py:47: in pytest_collect_file return Feature(path, parent) /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/nodes.py:95: in __call__ warnings.warn(NODE_USE_FROM_PARENT.format(name=self.__name__), stacklevel=2) E pytest.PytestDeprecationWarning: Direct construction of Feature has been deprecated, please use Feature.from_parent. E See https://docs.pytest.org/en/stable/deprecations.html#node-construction-changed-to-node-from-parent for more details. =============================== warnings summary =============================== /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/config/__init__.py:1040 /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/config/__init__.py:1040 /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/config/__init__.py:1040: PytestAssertRewriteWarning: Module already imported so cannot be rewritten: tests self._mark_plugins_for_rewrite(hook) -- Docs: https://docs.pytest.org/en/stable/warnings.html =========================== short test summary info ============================ ERROR - pytest.PytestDeprecationWarning: Direct construction of Feature has ... !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!! ========================= 2 warnings, 1 error in 1.49s ========================= --END-- _________________________ CallbackTest.test_behave_as __________________________ self = def test_behave_as(self): """ Test 'behave_as' called on a step. """ > self.assert_feature_success('features/behave_as.feature') /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/tests/functional/test_callbacks.py:204: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = features = ('features/behave_as.feature',), kwargs = {} result = def assert_feature_success(self, *features, **kwargs): """ Assert that the specified features can be run successfully. """ result = self.run_features(*features, **kwargs) try: > assert result.success E AssertionError /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/tests/testing.py:191: AssertionError ----------------------------- Captured stdout call ----------------------------- --Output-- ============================= test session starts ============================== platform linux -- Python 3.6.7, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 rootdir: /tmp/pytest-of-travis/pytest-16/test_behave_as0 plugins: eucalyptus-0.3.3, Faker-4.1.2, cov-2.5.1 collected 0 items / 1 error ==================================== ERRORS ==================================== ________________________ ERROR collecting test session _________________________ /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/hooks.py:286: in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:93: in _hookexec return self._inner_hookexec(hook, methods, kwargs) /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:337: in traced_hookexec return outcome.get_result() /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:335: in outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs)) /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:87: in firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/pytest_eucalyptus/plugin.py:47: in pytest_collect_file return Feature(path, parent) /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/nodes.py:95: in __call__ warnings.warn(NODE_USE_FROM_PARENT.format(name=self.__name__), stacklevel=2) E pytest.PytestDeprecationWarning: Direct construction of Feature has been deprecated, please use Feature.from_parent. E See https://docs.pytest.org/en/stable/deprecations.html#node-construction-changed-to-node-from-parent for more details. =============================== warnings summary =============================== /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/config/__init__.py:1040 /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/config/__init__.py:1040 /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/config/__init__.py:1040: PytestAssertRewriteWarning: Module already imported so cannot be rewritten: tests self._mark_plugins_for_rewrite(hook) -- Docs: https://docs.pytest.org/en/stable/warnings.html =========================== short test summary info ============================ ERROR - pytest.PytestDeprecationWarning: Direct construction of Feature has ... !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!! ========================= 2 warnings, 1 error in 1.06s ========================= --END-- ________________________ CallbackTest.test_behave_as_ru ________________________ self = def test_behave_as_ru(self): """ Test 'behave_as' on a non-English feature. """ > self.assert_feature_success('features/behave_as_ru.feature') /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/tests/functional/test_callbacks.py:211: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = features = ('features/behave_as_ru.feature',), kwargs = {} result = def assert_feature_success(self, *features, **kwargs): """ Assert that the specified features can be run successfully. """ result = self.run_features(*features, **kwargs) try: > assert result.success E AssertionError /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/tests/testing.py:191: AssertionError ----------------------------- Captured stdout call ----------------------------- --Output-- ============================= test session starts ============================== platform linux -- Python 3.6.7, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 rootdir: /tmp/pytest-of-travis/pytest-16/test_behave_as_ru0 plugins: eucalyptus-0.3.3, Faker-4.1.2, cov-2.5.1 collected 0 items / 1 error ==================================== ERRORS ==================================== ________________________ ERROR collecting test session _________________________ /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/hooks.py:286: in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:93: in _hookexec return self._inner_hookexec(hook, methods, kwargs) /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:337: in traced_hookexec return outcome.get_result() /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:335: in outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs)) /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:87: in firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/pytest_eucalyptus/plugin.py:47: in pytest_collect_file return Feature(path, parent) /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/nodes.py:95: in __call__ warnings.warn(NODE_USE_FROM_PARENT.format(name=self.__name__), stacklevel=2) E pytest.PytestDeprecationWarning: Direct construction of Feature has been deprecated, please use Feature.from_parent. E See https://docs.pytest.org/en/stable/deprecations.html#node-construction-changed-to-node-from-parent for more details. =============================== warnings summary =============================== /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/config/__init__.py:1040 /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/config/__init__.py:1040 /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/config/__init__.py:1040: PytestAssertRewriteWarning: Module already imported so cannot be rewritten: tests self._mark_plugins_for_rewrite(hook) -- Docs: https://docs.pytest.org/en/stable/warnings.html =========================== short test summary info ============================ ERROR - pytest.PytestDeprecationWarning: Direct construction of Feature has ... !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!! ========================= 2 warnings, 1 error in 1.18s ========================= --END-- _____________________ CallbackTest.test_example_callbacks ______________________ self = def test_example_callbacks(self): """ Test example callbacks execution order. """ > self.assert_feature_success('features/example_callbacks.feature') /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/tests/functional/test_callbacks.py:75: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = features = ('features/example_callbacks.feature',), kwargs = {} result = def assert_feature_success(self, *features, **kwargs): """ Assert that the specified features can be run successfully. """ result = self.run_features(*features, **kwargs) try: > assert result.success E AssertionError /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/tests/testing.py:191: AssertionError ----------------------------- Captured stdout call ----------------------------- --Output-- ============================= test session starts ============================== platform linux -- Python 3.6.7, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 rootdir: /tmp/pytest-of-travis/pytest-16/test_example_callbacks0 plugins: eucalyptus-0.3.3, Faker-4.1.2, cov-2.5.1 collected 0 items / 1 error ==================================== ERRORS ==================================== ________________________ ERROR collecting test session _________________________ /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/hooks.py:286: in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:93: in _hookexec return self._inner_hookexec(hook, methods, kwargs) /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:337: in traced_hookexec return outcome.get_result() /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:335: in outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs)) /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:87: in firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/pytest_eucalyptus/plugin.py:47: in pytest_collect_file return Feature(path, parent) /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/nodes.py:95: in __call__ warnings.warn(NODE_USE_FROM_PARENT.format(name=self.__name__), stacklevel=2) E pytest.PytestDeprecationWarning: Direct construction of Feature has been deprecated, please use Feature.from_parent. E See https://docs.pytest.org/en/stable/deprecations.html#node-construction-changed-to-node-from-parent for more details. =============================== warnings summary =============================== /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/config/__init__.py:1040 /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/config/__init__.py:1040 /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/config/__init__.py:1040: PytestAssertRewriteWarning: Module already imported so cannot be rewritten: tests self._mark_plugins_for_rewrite(hook) -- Docs: https://docs.pytest.org/en/stable/warnings.html =========================== short test summary info ============================ ERROR - pytest.PytestDeprecationWarning: Direct construction of Feature has ... !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!! ========================= 2 warnings, 1 error in 1.13s ========================= --END-- _____________________ CallbackTest.test_feature_callbacks ______________________ self = def test_feature_callbacks(self): """ Test feature callbacks execution order and arguments. """ self.assert_feature_success('features/feature_callbacks_1.feature', > 'features/feature_callbacks_2.feature') /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/tests/functional/test_callbacks.py:92: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = features = ('features/feature_callbacks_1.feature', 'features/feature_callbacks_2.feature') kwargs = {}, result = def assert_feature_success(self, *features, **kwargs): """ Assert that the specified features can be run successfully. """ result = self.run_features(*features, **kwargs) try: > assert result.success E AssertionError /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/tests/testing.py:191: AssertionError ----------------------------- Captured stdout call ----------------------------- --Output-- ============================= test session starts ============================== platform linux -- Python 3.6.7, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 rootdir: /tmp/pytest-of-travis/pytest-16/test_feature_callbacks0 plugins: eucalyptus-0.3.3, Faker-4.1.2, cov-2.5.1 collected 0 items / 1 error ==================================== ERRORS ==================================== ________________________ ERROR collecting test session _________________________ /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/hooks.py:286: in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:93: in _hookexec return self._inner_hookexec(hook, methods, kwargs) /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:337: in traced_hookexec return outcome.get_result() /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:335: in outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs)) /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:87: in firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/pytest_eucalyptus/plugin.py:47: in pytest_collect_file return Feature(path, parent) /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/nodes.py:95: in __call__ warnings.warn(NODE_USE_FROM_PARENT.format(name=self.__name__), stacklevel=2) E pytest.PytestDeprecationWarning: Direct construction of Feature has been deprecated, please use Feature.from_parent. E See https://docs.pytest.org/en/stable/deprecations.html#node-construction-changed-to-node-from-parent for more details. =============================== warnings summary =============================== /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/config/__init__.py:1040 /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/config/__init__.py:1040 /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/config/__init__.py:1040: PytestAssertRewriteWarning: Module already imported so cannot be rewritten: tests self._mark_plugins_for_rewrite(hook) -- Docs: https://docs.pytest.org/en/stable/warnings.html =========================== short test summary info ============================ ERROR - pytest.PytestDeprecationWarning: Direct construction of Feature has ... !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!! ========================= 2 warnings, 1 error in 1.22s ========================= --END-- _______________________ CallbackTest.test_relative_order _______________________ self = def test_relative_order(self): """ Test the relative order of callbacks - from global to specific. """ self.assert_feature_success('features/all_callbacks_1.feature', > 'features/all_callbacks_2.feature') /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/tests/functional/test_callbacks.py:139: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = features = ('features/all_callbacks_1.feature', 'features/all_callbacks_2.feature') kwargs = {}, result = def assert_feature_success(self, *features, **kwargs): """ Assert that the specified features can be run successfully. """ result = self.run_features(*features, **kwargs) try: > assert result.success E AssertionError /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/tests/testing.py:191: AssertionError ----------------------------- Captured stdout call ----------------------------- --Output-- ============================= test session starts ============================== platform linux -- Python 3.6.7, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 rootdir: /tmp/pytest-of-travis/pytest-16/test_relative_order0 plugins: eucalyptus-0.3.3, Faker-4.1.2, cov-2.5.1 collected 0 items / 1 error ==================================== ERRORS ==================================== ________________________ ERROR collecting test session _________________________ /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/hooks.py:286: in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:93: in _hookexec return self._inner_hookexec(hook, methods, kwargs) /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:337: in traced_hookexec return outcome.get_result() /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:335: in outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs)) /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:87: in firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/pytest_eucalyptus/plugin.py:47: in pytest_collect_file return Feature(path, parent) /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/nodes.py:95: in __call__ warnings.warn(NODE_USE_FROM_PARENT.format(name=self.__name__), stacklevel=2) E pytest.PytestDeprecationWarning: Direct construction of Feature has been deprecated, please use Feature.from_parent. E See https://docs.pytest.org/en/stable/deprecations.html#node-construction-changed-to-node-from-parent for more details. =============================== warnings summary =============================== /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/config/__init__.py:1040 /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/config/__init__.py:1040 /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/config/__init__.py:1040: PytestAssertRewriteWarning: Module already imported so cannot be rewritten: tests self._mark_plugins_for_rewrite(hook) -- Docs: https://docs.pytest.org/en/stable/warnings.html =========================== short test summary info ============================ ERROR - pytest.PytestDeprecationWarning: Direct construction of Feature has ... !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!! ========================= 2 warnings, 1 error in 1.18s ========================= --END-- _______________________ CallbackTest.test_step_callbacks _______________________ self = def test_step_callbacks(self): """ Test step callbacks execution order. """ > self.assert_feature_success('features/step_callbacks.feature') /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/tests/functional/test_callbacks.py:53: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = features = ('features/step_callbacks.feature',), kwargs = {} result = def assert_feature_success(self, *features, **kwargs): """ Assert that the specified features can be run successfully. """ result = self.run_features(*features, **kwargs) try: > assert result.success E AssertionError /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/tests/testing.py:191: AssertionError ----------------------------- Captured stdout call ----------------------------- --Output-- ============================= test session starts ============================== platform linux -- Python 3.6.7, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 rootdir: /tmp/pytest-of-travis/pytest-16/test_step_callbacks0 plugins: eucalyptus-0.3.3, Faker-4.1.2, cov-2.5.1 collected 0 items / 1 error ==================================== ERRORS ==================================== ________________________ ERROR collecting test session _________________________ /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/hooks.py:286: in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:93: in _hookexec return self._inner_hookexec(hook, methods, kwargs) /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:337: in traced_hookexec return outcome.get_result() /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:335: in outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs)) /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:87: in firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/pytest_eucalyptus/plugin.py:47: in pytest_collect_file return Feature(path, parent) /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/nodes.py:95: in __call__ warnings.warn(NODE_USE_FROM_PARENT.format(name=self.__name__), stacklevel=2) E pytest.PytestDeprecationWarning: Direct construction of Feature has been deprecated, please use Feature.from_parent. E See https://docs.pytest.org/en/stable/deprecations.html#node-construction-changed-to-node-from-parent for more details. =============================== warnings summary =============================== /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/config/__init__.py:1040 /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/config/__init__.py:1040 /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/config/__init__.py:1040: PytestAssertRewriteWarning: Module already imported so cannot be rewritten: tests self._mark_plugins_for_rewrite(hook) -- Docs: https://docs.pytest.org/en/stable/warnings.html =========================== short test summary info ============================ ERROR - pytest.PytestDeprecationWarning: Direct construction of Feature has ... !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!! ========================= 2 warnings, 1 error in 1.10s ========================= --END-- ________________________ CallbackTest.test_step_failed _________________________ self = def test_step_failed(self): """ Test the value of step.failed. """ # The test fails self.run_features('features/step_failed.feature') > assert world.passing_steps == 2 E AttributeError: '_thread._local' object has no attribute 'passing_steps' /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/tests/functional/test_callbacks.py:221: AttributeError ______________________ CallbackTest.test_testcase_methods ______________________ self = def test_testcase_methods(self): """Test setUp and tearDown on the test class.""" test_cls = 'tests.callbacks_app.features.steps.CallbackTestCase' with set_environ(GHERKIN_CLASS=test_cls): > self.assert_feature_success('features/testcase_methods.feature') /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/tests/functional/test_callbacks.py:127: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = features = ('features/testcase_methods.feature',), kwargs = {} result = def assert_feature_success(self, *features, **kwargs): """ Assert that the specified features can be run successfully. """ result = self.run_features(*features, **kwargs) try: > assert result.success E AssertionError /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/tests/testing.py:191: AssertionError ----------------------------- Captured stdout call ----------------------------- --Output-- ============================= test session starts ============================== platform linux -- Python 3.6.7, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 rootdir: /tmp/pytest-of-travis/pytest-16/test_testcase_methods0 plugins: eucalyptus-0.3.3, Faker-4.1.2, cov-2.5.1 collected 0 items / 1 error ==================================== ERRORS ==================================== ________________________ ERROR collecting test session _________________________ /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/hooks.py:286: in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:93: in _hookexec return self._inner_hookexec(hook, methods, kwargs) /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:337: in traced_hookexec return outcome.get_result() /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:335: in outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs)) /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:87: in firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/pytest_eucalyptus/plugin.py:47: in pytest_collect_file return Feature(path, parent) /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/nodes.py:95: in __call__ warnings.warn(NODE_USE_FROM_PARENT.format(name=self.__name__), stacklevel=2) E pytest.PytestDeprecationWarning: Direct construction of Feature has been deprecated, please use Feature.from_parent. E See https://docs.pytest.org/en/stable/deprecations.html#node-construction-changed-to-node-from-parent for more details. =============================== warnings summary =============================== /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/config/__init__.py:1040 /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/config/__init__.py:1040 /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/config/__init__.py:1040: PytestAssertRewriteWarning: Module already imported so cannot be rewritten: tests self._mark_plugins_for_rewrite(hook) -- Docs: https://docs.pytest.org/en/stable/warnings.html =========================== short test summary info ============================ ERROR - pytest.PytestDeprecationWarning: Direct construction of Feature has ... !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!! ========================= 2 warnings, 1 error in 1.15s ========================= --END-- ________________________ FactoryBoyTest.test_factoryboy ________________________ self = def test_factoryboy(self): """ Test Factory Boy steps. """ > self.assert_feature_success('features/good.feature') /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/tests/functional/test_factoryboy.py:28: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = features = ('features/good.feature',), kwargs = {} result = def assert_feature_success(self, *features, **kwargs): """ Assert that the specified features can be run successfully. """ result = self.run_features(*features, **kwargs) try: > assert result.success E AssertionError /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/tests/testing.py:191: AssertionError ----------------------------- Captured stdout call ----------------------------- --Output-- ============================= test session starts ============================== platform linux -- Python 3.6.7, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 rootdir: /tmp/pytest-of-travis/pytest-16/test_factoryboy0 plugins: eucalyptus-0.3.3, Faker-4.1.2, cov-2.5.1 collected 0 items / 1 error ==================================== ERRORS ==================================== ________________________ ERROR collecting test session _________________________ /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/hooks.py:286: in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:93: in _hookexec return self._inner_hookexec(hook, methods, kwargs) /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:337: in traced_hookexec return outcome.get_result() /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:335: in outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs)) /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:87: in firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/pytest_eucalyptus/plugin.py:47: in pytest_collect_file return Feature(path, parent) /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/nodes.py:95: in __call__ warnings.warn(NODE_USE_FROM_PARENT.format(name=self.__name__), stacklevel=2) E pytest.PytestDeprecationWarning: Direct construction of Feature has been deprecated, please use Feature.from_parent. E See https://docs.pytest.org/en/stable/deprecations.html#node-construction-changed-to-node-from-parent for more details. =============================== warnings summary =============================== /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/config/__init__.py:1040 /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/config/__init__.py:1040 /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/config/__init__.py:1040: PytestAssertRewriteWarning: Module already imported so cannot be rewritten: tests self._mark_plugins_for_rewrite(hook) -- Docs: https://docs.pytest.org/en/stable/warnings.html =========================== short test summary info ============================ ERROR - pytest.PytestDeprecationWarning: Direct construction of Feature has ... !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!! ========================= 2 warnings, 1 error in 1.49s ========================= --END-- ______________________ SimpleScenarioTest.test_background ______________________ self = def test_background(self): """ Test running a scenario with a background. """ > self.assert_feature_success('features/background.feature') /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/tests/functional/test_simple.py:207: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = features = ('features/background.feature',), kwargs = {} result = def assert_feature_success(self, *features, **kwargs): """ Assert that the specified features can be run successfully. """ result = self.run_features(*features, **kwargs) try: > assert result.success E AssertionError /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/tests/testing.py:191: AssertionError ----------------------------- Captured stdout call ----------------------------- --Output-- ============================= test session starts ============================== platform linux -- Python 3.6.7, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 rootdir: /tmp/pytest-of-travis/pytest-16/test_background0 plugins: eucalyptus-0.3.3, Faker-4.1.2, cov-2.5.1 collected 0 items / 1 error ==================================== ERRORS ==================================== ________________________ ERROR collecting test session _________________________ /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/hooks.py:286: in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:93: in _hookexec return self._inner_hookexec(hook, methods, kwargs) /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:337: in traced_hookexec return outcome.get_result() /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:335: in outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs)) /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:87: in firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/pytest_eucalyptus/plugin.py:47: in pytest_collect_file return Feature(path, parent) /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/nodes.py:95: in __call__ warnings.warn(NODE_USE_FROM_PARENT.format(name=self.__name__), stacklevel=2) E pytest.PytestDeprecationWarning: Direct construction of Feature has been deprecated, please use Feature.from_parent. E See https://docs.pytest.org/en/stable/deprecations.html#node-construction-changed-to-node-from-parent for more details. =============================== warnings summary =============================== /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/config/__init__.py:1040 /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/config/__init__.py:1040 /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/config/__init__.py:1040: PytestAssertRewriteWarning: Module already imported so cannot be rewritten: tests self._mark_plugins_for_rewrite(hook) -- Docs: https://docs.pytest.org/en/stable/warnings.html =========================== short test summary info ============================ ERROR - pytest.PytestDeprecationWarning: Direct construction of Feature has ... !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!! ========================= 2 warnings, 1 error in 1.28s ========================= --END-- ____________________ SimpleScenarioTest.test_error_message _____________________ self = def test_error_message(self): """ Check that the appropriate error messages are printed on failure. """ stream = StreamTestWrapperIO() failing_feature = 'features/wrong_expectations.feature' self.assert_feature_fail(failing_feature, '--scenario-indices', '1', stream=stream) output = stream.getvalue() feature_stack_frame = f""" > Then the result should be 40 on the screen {failing_feature}:11:""" > self.assertIn(feature_stack_frame, output) E AssertionError: '\n> Then the result should be 40 on the screen\n\nfeatures/wrong_expectations.feature:11:' not found in '============================= test session starts ==============================\nplatform linux -- Python 3.6.7, pytest-6.0.1, py-1.9.0, pluggy-0.13.1\nrootdir: /tmp/pytest-of-travis/pytest-16/test_error_message0\nplugins: eucalyptus-0.3.3, Faker-4.1.2, cov-2.5.1\ncollected 0 items / 1 error\n\n==================================== ERRORS ====================================\n________________________ ERROR collecting test session _________________________\n/tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/hooks.py:286: in __call__\n return self._hookexec(self, self.get_hookimpls(), kwargs)\n/tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:93: in _hookexec\n return self._inner_hookexec(hook, methods, kwargs)\n/tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:337: in traced_hookexec\n return outcome.get_result()\n/tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:335: in \n outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs))\n/tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:87: in \n firstresult=hook.spec.opts.get("firstresult") if hook.spec else False,\n/tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/pytest_eucalyptus/plugin.py:47: in pytest_collect_file\n return Feature(path, parent)\n/tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/nodes.py:95: in __call__\n warnings.warn(NODE_USE_FROM_PARENT.format(name=self.__name__), stacklevel=2)\nE pytest.PytestDeprecationWarning: Direct construction of Feature has been deprecated, please use Feature.from_parent.\nE See https://docs.pytest.org/en/stable/deprecations.html#node-construction-changed-to-node-from-parent for more details.\n=============================== warnings summary ===============================\n/tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/config/__init__.py:1040\n/tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/config/__init__.py:1040\n /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/config/__init__.py:1040: PytestAssertRewriteWarning: Module already imported so cannot be rewritten: tests\n self._mark_plugins_for_rewrite(hook)\n\n-- Docs: https://docs.pytest.org/en/stable/warnings.html\n=========================== short test summary info ============================\nERROR - pytest.PytestDeprecationWarning: Direct construction of Feature has ...\n!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!\n========================= 2 warnings, 1 error in 1.27s =========================\n' /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/tests/functional/test_simple.py:92: AssertionError _______________ SimpleScenarioTest.test_error_message_background _______________ self = def test_error_message_background(self): """ Check that the appropriate error messages are printed on failure in a step background. """ stream = StreamTestWrapperIO() failing_feature = 'features/wrong_expectations_background.feature' self.assert_feature_fail(failing_feature, '--scenario-indices', '1', stream=stream) output = stream.getvalue() feature_stack_frame = f""" {failing_feature}:11: in background Then the result should be 40 on the screen """ > self.assertIn(feature_stack_frame, output) E AssertionError: '\nfeatures/wrong_expectations_background.feature:11: in background\n Then the result should be 40 on the screen\n' not found in '============================= test session starts ==============================\nplatform linux -- Python 3.6.7, pytest-6.0.1, py-1.9.0, pluggy-0.13.1\nrootdir: /tmp/pytest-of-travis/pytest-16/test_error_message_background0\nplugins: eucalyptus-0.3.3, Faker-4.1.2, cov-2.5.1\ncollected 0 items / 1 error\n\n==================================== ERRORS ====================================\n________________________ ERROR collecting test session _________________________\n/tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/hooks.py:286: in __call__\n return self._hookexec(self, self.get_hookimpls(), kwargs)\n/tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:93: in _hookexec\n return self._inner_hookexec(hook, methods, kwargs)\n/tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:337: in traced_hookexec\n return outcome.get_result()\n/tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:335: in \n outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs))\n/tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:87: in \n firstresult=hook.spec.opts.get("firstresult") if hook.spec else False,\n/tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/pytest_eucalyptus/plugin.py:47: in pytest_collect_file\n return Feature(path, parent)\n/tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/nodes.py:95: in __call__\n warnings.warn(NODE_USE_FROM_PARENT.format(name=self.__name__), stacklevel=2)\nE pytest.PytestDeprecationWarning: Direct construction of Feature has been deprecated, please use Feature.from_parent.\nE See https://docs.pytest.org/en/stable/deprecations.html#node-construction-changed-to-node-from-parent for more details.\n=============================== warnings summary ===============================\n/tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/config/__init__.py:1040\n/tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/config/__init__.py:1040\n /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/config/__init__.py:1040: PytestAssertRewriteWarning: Module already imported so cannot be rewritten: tests\n self._mark_plugins_for_rewrite(hook)\n\n-- Docs: https://docs.pytest.org/en/stable/warnings.html\n=========================== short test summary info ============================\nERROR - pytest.PytestDeprecationWarning: Direct construction of Feature has ...\n!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!\n========================= 2 warnings, 1 error in 1.51s =========================\n' /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/tests/functional/test_simple.py:118: AssertionError ________________ SimpleScenarioTest.test_error_message_outline _________________ self = def test_error_message_outline(self): """ Check that the appropriate error messages are printed on failure in a scenario outline. """ stream = StreamTestWrapperIO() failing_feature = 'features/wrong_expectations.feature' self.assert_feature_fail(failing_feature, '--scenario-indices', '2', stream=stream) output = stream.getvalue() feature_stack_frame = f""" > | 50 | {failing_feature}:22: """ > self.assertIn(feature_stack_frame, output) E AssertionError: '\n> | 50 |\n\nfeatures/wrong_expectations.feature:22: \n' not found in '============================= test session starts ==============================\nplatform linux -- Python 3.6.7, pytest-6.0.1, py-1.9.0, pluggy-0.13.1\nrootdir: /tmp/pytest-of-travis/pytest-16/test_error_message_outline0\nplugins: eucalyptus-0.3.3, Faker-4.1.2, cov-2.5.1\ncollected 0 items / 1 error\n\n==================================== ERRORS ====================================\n________________________ ERROR collecting test session _________________________\n/tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/hooks.py:286: in __call__\n return self._hookexec(self, self.get_hookimpls(), kwargs)\n/tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:93: in _hookexec\n return self._inner_hookexec(hook, methods, kwargs)\n/tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:337: in traced_hookexec\n return outcome.get_result()\n/tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:335: in \n outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs))\n/tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:87: in \n firstresult=hook.spec.opts.get("firstresult") if hook.spec else False,\n/tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/pytest_eucalyptus/plugin.py:47: in pytest_collect_file\n return Feature(path, parent)\n/tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/nodes.py:95: in __call__\n warnings.warn(NODE_USE_FROM_PARENT.format(name=self.__name__), stacklevel=2)\nE pytest.PytestDeprecationWarning: Direct construction of Feature has been deprecated, please use Feature.from_parent.\nE See https://docs.pytest.org/en/stable/deprecations.html#node-construction-changed-to-node-from-parent for more details.\n=============================== warnings summary ===============================\n/tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/config/__init__.py:1040\n/tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/config/__init__.py:1040\n /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/config/__init__.py:1040: PytestAssertRewriteWarning: Module already imported so cannot be rewritten: tests\n self._mark_plugins_for_rewrite(hook)\n\n-- Docs: https://docs.pytest.org/en/stable/warnings.html\n=========================== short test summary info ============================\nERROR - pytest.PytestDeprecationWarning: Direct construction of Feature has ...\n!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!\n========================= 2 warnings, 1 error in 1.13s =========================\n' /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/tests/functional/test_simple.py:236: AssertionError _____________________ SimpleScenarioTest.test_exact_match ______________________ self = def test_exact_match(self): """ Test running a simple feature. """ > self.assert_feature_success('features/exact_match.feature') /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/tests/functional/test_simple.py:50: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = features = ('features/exact_match.feature',), kwargs = {} result = def assert_feature_success(self, *features, **kwargs): """ Assert that the specified features can be run successfully. """ result = self.run_features(*features, **kwargs) try: > assert result.success E AssertionError /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/tests/testing.py:191: AssertionError ----------------------------- Captured stdout call ----------------------------- --Output-- ============================= test session starts ============================== platform linux -- Python 3.6.7, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 rootdir: /tmp/pytest-of-travis/pytest-16/test_exact_match0 plugins: eucalyptus-0.3.3, Faker-4.1.2, cov-2.5.1 collected 0 items / 1 error ==================================== ERRORS ==================================== ________________________ ERROR collecting test session _________________________ /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/hooks.py:286: in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:93: in _hookexec return self._inner_hookexec(hook, methods, kwargs) /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:337: in traced_hookexec return outcome.get_result() /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:335: in outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs)) /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:87: in firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/pytest_eucalyptus/plugin.py:47: in pytest_collect_file return Feature(path, parent) /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/nodes.py:95: in __call__ warnings.warn(NODE_USE_FROM_PARENT.format(name=self.__name__), stacklevel=2) E pytest.PytestDeprecationWarning: Direct construction of Feature has been deprecated, please use Feature.from_parent. E See https://docs.pytest.org/en/stable/deprecations.html#node-construction-changed-to-node-from-parent for more details. =============================== warnings summary =============================== /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/config/__init__.py:1040 /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/config/__init__.py:1040 /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/config/__init__.py:1040: PytestAssertRewriteWarning: Module already imported so cannot be rewritten: tests self._mark_plugins_for_rewrite(hook) -- Docs: https://docs.pytest.org/en/stable/warnings.html =========================== short test summary info ============================ ERROR - pytest.PytestDeprecationWarning: Direct construction of Feature has ... !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!! ========================= 2 warnings, 1 error in 1.13s ========================= --END-- ______________________ SimpleScenarioTest.test_failure_zh ______________________ self = def test_failure_zh(self): """ Test that a failing feature in Chinese fails tests. """ stream = StreamTestWrapperIO() failing_feature = 'features/wrong_expectations_zh.feature' self.assert_feature_fail(failing_feature, stream=stream) # Check that the appropriate error messages were printed output = stream.getvalue() if PY3: feature_stack_frame = f""" > 那么结果应该是40 {failing_feature}:12: """.strip() > self.assertIn(feature_stack_frame, output) E AssertionError: '> 那么结果应该是40\n\nfeatures/wrong_expectations_zh.feature:12:' not found in '============================= test session starts ==============================\nplatform linux -- Python 3.6.7, pytest-6.0.1, py-1.9.0, pluggy-0.13.1\nrootdir: /tmp/pytest-of-travis/pytest-16/test_failure_zh0\nplugins: eucalyptus-0.3.3, Faker-4.1.2, cov-2.5.1\ncollected 0 items / 1 error\n\n==================================== ERRORS ====================================\n________________________ ERROR collecting test session _________________________\n/tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/hooks.py:286: in __call__\n return self._hookexec(self, self.get_hookimpls(), kwargs)\n/tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:93: in _hookexec\n return self._inner_hookexec(hook, methods, kwargs)\n/tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:337: in traced_hookexec\n return outcome.get_result()\n/tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:335: in \n outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs))\n/tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:87: in \n firstresult=hook.spec.opts.get("firstresult") if hook.spec else False,\n/tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/pytest_eucalyptus/plugin.py:47: in pytest_collect_file\n return Feature(path, parent)\n/tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/nodes.py:95: in __call__\n warnings.warn(NODE_USE_FROM_PARENT.format(name=self.__name__), stacklevel=2)\nE pytest.PytestDeprecationWarning: Direct construction of Feature has been deprecated, please use Feature.from_parent.\nE See https://docs.pytest.org/en/stable/deprecations.html#node-construction-changed-to-node-from-parent for more details.\n=============================== warnings summary ===============================\n/tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/config/__init__.py:1040\n/tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/config/__init__.py:1040\n /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/config/__init__.py:1040: PytestAssertRewriteWarning: Module already imported so cannot be rewritten: tests\n self._mark_plugins_for_rewrite(hook)\n\n-- Docs: https://docs.pytest.org/en/stable/warnings.html\n=========================== short test summary info ============================\nERROR - pytest.PytestDeprecationWarning: Direct construction of Feature has ...\n!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!\n========================= 2 warnings, 1 error in 1.11s =========================\n' /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/tests/functional/test_simple.py:149: AssertionError _______________________ SimpleScenarioTest.test_outlines _______________________ self = def test_outlines(self): """ Test a scenario with outlines. """ > self.assert_feature_success('features/outlines.feature') /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/tests/functional/test_simple.py:214: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = features = ('features/outlines.feature',), kwargs = {} result = def assert_feature_success(self, *features, **kwargs): """ Assert that the specified features can be run successfully. """ result = self.run_features(*features, **kwargs) try: > assert result.success E AssertionError /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/tests/testing.py:191: AssertionError ----------------------------- Captured stdout call ----------------------------- --Output-- ============================= test session starts ============================== platform linux -- Python 3.6.7, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 rootdir: /tmp/pytest-of-travis/pytest-16/test_outlines0 plugins: eucalyptus-0.3.3, Faker-4.1.2, cov-2.5.1 collected 0 items / 1 error ==================================== ERRORS ==================================== ________________________ ERROR collecting test session _________________________ /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/hooks.py:286: in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:93: in _hookexec return self._inner_hookexec(hook, methods, kwargs) /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:337: in traced_hookexec return outcome.get_result() /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:335: in outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs)) /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:87: in firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/pytest_eucalyptus/plugin.py:47: in pytest_collect_file return Feature(path, parent) /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/nodes.py:95: in __call__ warnings.warn(NODE_USE_FROM_PARENT.format(name=self.__name__), stacklevel=2) E pytest.PytestDeprecationWarning: Direct construction of Feature has been deprecated, please use Feature.from_parent. E See https://docs.pytest.org/en/stable/deprecations.html#node-construction-changed-to-node-from-parent for more details. =============================== warnings summary =============================== /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/config/__init__.py:1040 /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/config/__init__.py:1040 /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/config/__init__.py:1040: PytestAssertRewriteWarning: Module already imported so cannot be rewritten: tests self._mark_plugins_for_rewrite(hook) -- Docs: https://docs.pytest.org/en/stable/warnings.html =========================== short test summary info ============================ ERROR - pytest.PytestDeprecationWarning: Direct construction of Feature has ... !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!! ========================= 2 warnings, 1 error in 1.40s ========================= --END-- ___________________ SimpleScenarioTest.test_scenario_indices ___________________ self = def test_scenario_indices(self): """ Test specifying the scenario indices to run. """ feature = 'features/scenario_index.feature' # Run a single scenario > self.assert_feature_success(feature, '--scenario-indices', '1') /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/tests/functional/test_simple.py:260: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = features = ('features/scenario_index.feature', '--scenario-indices', '1') kwargs = {}, result = def assert_feature_success(self, *features, **kwargs): """ Assert that the specified features can be run successfully. """ result = self.run_features(*features, **kwargs) try: > assert result.success E AssertionError /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/tests/testing.py:191: AssertionError ----------------------------- Captured stdout call ----------------------------- --Output-- ============================= test session starts ============================== platform linux -- Python 3.6.7, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 rootdir: /tmp/pytest-of-travis/pytest-16/test_scenario_indices0 plugins: eucalyptus-0.3.3, Faker-4.1.2, cov-2.5.1 collected 0 items / 1 error ==================================== ERRORS ==================================== ________________________ ERROR collecting test session _________________________ /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/hooks.py:286: in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:93: in _hookexec return self._inner_hookexec(hook, methods, kwargs) /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:337: in traced_hookexec return outcome.get_result() /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:335: in outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs)) /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:87: in firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/pytest_eucalyptus/plugin.py:47: in pytest_collect_file return Feature(path, parent) /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/nodes.py:95: in __call__ warnings.warn(NODE_USE_FROM_PARENT.format(name=self.__name__), stacklevel=2) E pytest.PytestDeprecationWarning: Direct construction of Feature has been deprecated, please use Feature.from_parent. E See https://docs.pytest.org/en/stable/deprecations.html#node-construction-changed-to-node-from-parent for more details. =============================== warnings summary =============================== /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/config/__init__.py:1040 /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/config/__init__.py:1040 /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/config/__init__.py:1040: PytestAssertRewriteWarning: Module already imported so cannot be rewritten: tests self._mark_plugins_for_rewrite(hook) -- Docs: https://docs.pytest.org/en/stable/warnings.html =========================== short test summary info ============================ ERROR - pytest.PytestDeprecationWarning: Direct construction of Feature has ... !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!! ========================= 2 warnings, 1 error in 1.07s ========================= --END-- ____________________ SimpleScenarioTest.test_step_not_found ____________________ self = def test_step_not_found(self): """ Check the behavior when a step is not defined. """ stream = StreamTestWrapperIO() failing_feature = 'features/step_not_found.feature' self.assert_feature_fail(failing_feature, stream=stream) output = stream.getvalue() error_header = "NoDefinitionFound: " + \ "The step r\"When I engage the warp drive\" is not defined" > self.assertIn(error_header, output) E AssertionError: 'NoDefinitionFound: The step r"When I engage the warp drive" is not defined' not found in '============================= test session starts ==============================\nplatform linux -- Python 3.6.7, pytest-6.0.1, py-1.9.0, pluggy-0.13.1\nrootdir: /tmp/pytest-of-travis/pytest-16/test_step_not_found0\nplugins: eucalyptus-0.3.3, Faker-4.1.2, cov-2.5.1\ncollected 0 items / 1 error\n\n==================================== ERRORS ====================================\n________________________ ERROR collecting test session _________________________\n/tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/hooks.py:286: in __call__\n return self._hookexec(self, self.get_hookimpls(), kwargs)\n/tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:93: in _hookexec\n return self._inner_hookexec(hook, methods, kwargs)\n/tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:337: in traced_hookexec\n return outcome.get_result()\n/tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:335: in \n outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs))\n/tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:87: in \n firstresult=hook.spec.opts.get("firstresult") if hook.spec else False,\n/tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/pytest_eucalyptus/plugin.py:47: in pytest_collect_file\n return Feature(path, parent)\n/tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/nodes.py:95: in __call__\n warnings.warn(NODE_USE_FROM_PARENT.format(name=self.__name__), stacklevel=2)\nE pytest.PytestDeprecationWarning: Direct construction of Feature has been deprecated, please use Feature.from_parent.\nE See https://docs.pytest.org/en/stable/deprecations.html#node-construction-changed-to-node-from-parent for more details.\n=============================== warnings summary ===============================\n/tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/config/__init__.py:1040\n/tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/config/__init__.py:1040\n /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/config/__init__.py:1040: PytestAssertRewriteWarning: Module already imported so cannot be rewritten: tests\n self._mark_plugins_for_rewrite(hook)\n\n-- Docs: https://docs.pytest.org/en/stable/warnings.html\n=========================== short test summary info ============================\nERROR - pytest.PytestDeprecationWarning: Direct construction of Feature has ...\n!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!\n========================= 2 warnings, 1 error in 1.42s =========================\n' /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/tests/functional/test_simple.py:182: AssertionError __________________ SimpleScenarioTest.test_step_not_found_zh ___________________ self = def test_step_not_found_zh(self): """ Check the behavior when a step is not defined with a Chinese feature. """ stream = StreamTestWrapperIO() failing_feature = 'features/step_not_found_zh.feature' self.assert_feature_fail(failing_feature, stream=stream) output = stream.getvalue() error_header = "NoDefinitionFound: " + \ "The step r\"当我开曲速引擎\" is not defined" > self.assertIn(error_header, output) E AssertionError: 'NoDefinitionFound: The step r"当我开曲速引擎" is not defined' not found in '============================= test session starts ==============================\nplatform linux -- Python 3.6.7, pytest-6.0.1, py-1.9.0, pluggy-0.13.1\nrootdir: /tmp/pytest-of-travis/pytest-16/test_step_not_found_zh0\nplugins: eucalyptus-0.3.3, Faker-4.1.2, cov-2.5.1\ncollected 0 items / 1 error\n\n==================================== ERRORS ====================================\n________________________ ERROR collecting test session _________________________\n/tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/hooks.py:286: in __call__\n return self._hookexec(self, self.get_hookimpls(), kwargs)\n/tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:93: in _hookexec\n return self._inner_hookexec(hook, methods, kwargs)\n/tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:337: in traced_hookexec\n return outcome.get_result()\n/tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:335: in \n outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs))\n/tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:87: in \n firstresult=hook.spec.opts.get("firstresult") if hook.spec else False,\n/tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/pytest_eucalyptus/plugin.py:47: in pytest_collect_file\n return Feature(path, parent)\n/tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/nodes.py:95: in __call__\n warnings.warn(NODE_USE_FROM_PARENT.format(name=self.__name__), stacklevel=2)\nE pytest.PytestDeprecationWarning: Direct construction of Feature has been deprecated, please use Feature.from_parent.\nE See https://docs.pytest.org/en/stable/deprecations.html#node-construction-changed-to-node-from-parent for more details.\n=============================== warnings summary ===============================\n/tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/config/__init__.py:1040\n/tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/config/__init__.py:1040\n /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/config/__init__.py:1040: PytestAssertRewriteWarning: Module already imported so cannot be rewritten: tests\n self._mark_plugins_for_rewrite(hook)\n\n-- Docs: https://docs.pytest.org/en/stable/warnings.html\n=========================== short test summary info ============================\nERROR - pytest.PytestDeprecationWarning: Direct construction of Feature has ...\n!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!\n========================= 2 warnings, 1 error in 1.17s =========================\n' /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/tests/functional/test_simple.py:200: AssertionError _______________________ SimpleScenarioTest.test_success ________________________ self = def test_success(self): """ Test running a simple feature. """ > self.assert_feature_success('features/calculator.feature') /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/tests/functional/test_simple.py:43: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = features = ('features/calculator.feature',), kwargs = {} result = def assert_feature_success(self, *features, **kwargs): """ Assert that the specified features can be run successfully. """ result = self.run_features(*features, **kwargs) try: > assert result.success E AssertionError /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/tests/testing.py:191: AssertionError ----------------------------- Captured stdout call ----------------------------- --Output-- ============================= test session starts ============================== platform linux -- Python 3.6.7, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 rootdir: /tmp/pytest-of-travis/pytest-16/test_success0 plugins: eucalyptus-0.3.3, Faker-4.1.2, cov-2.5.1 collected 0 items / 1 error ==================================== ERRORS ==================================== ________________________ ERROR collecting test session _________________________ /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/hooks.py:286: in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:93: in _hookexec return self._inner_hookexec(hook, methods, kwargs) /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:337: in traced_hookexec return outcome.get_result() /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:335: in outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs)) /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:87: in firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/pytest_eucalyptus/plugin.py:47: in pytest_collect_file return Feature(path, parent) /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/nodes.py:95: in __call__ warnings.warn(NODE_USE_FROM_PARENT.format(name=self.__name__), stacklevel=2) E pytest.PytestDeprecationWarning: Direct construction of Feature has been deprecated, please use Feature.from_parent. E See https://docs.pytest.org/en/stable/deprecations.html#node-construction-changed-to-node-from-parent for more details. =============================== warnings summary =============================== /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/config/__init__.py:1040 /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/config/__init__.py:1040 /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/config/__init__.py:1040: PytestAssertRewriteWarning: Module already imported so cannot be rewritten: tests self._mark_plugins_for_rewrite(hook) -- Docs: https://docs.pytest.org/en/stable/warnings.html =========================== short test summary info ============================ ERROR - pytest.PytestDeprecationWarning: Direct construction of Feature has ... !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!! ========================= 2 warnings, 1 error in 1.10s ========================= --END-- ______________________ SimpleScenarioTest.test_success_zh ______________________ self = def test_success_zh(self): """ Test running a simple feature in Chinese. """ > self.assert_feature_success('features/calculator_zh.feature') /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/tests/functional/test_simple.py:57: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = features = ('features/calculator_zh.feature',), kwargs = {} result = def assert_feature_success(self, *features, **kwargs): """ Assert that the specified features can be run successfully. """ result = self.run_features(*features, **kwargs) try: > assert result.success E AssertionError /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/tests/testing.py:191: AssertionError ----------------------------- Captured stdout call ----------------------------- --Output-- ============================= test session starts ============================== platform linux -- Python 3.6.7, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 rootdir: /tmp/pytest-of-travis/pytest-16/test_success_zh0 plugins: eucalyptus-0.3.3, Faker-4.1.2, cov-2.5.1 collected 0 items / 1 error ==================================== ERRORS ==================================== ________________________ ERROR collecting test session _________________________ /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/hooks.py:286: in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:93: in _hookexec return self._inner_hookexec(hook, methods, kwargs) /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:337: in traced_hookexec return outcome.get_result() /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:335: in outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs)) /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:87: in firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/pytest_eucalyptus/plugin.py:47: in pytest_collect_file return Feature(path, parent) /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/nodes.py:95: in __call__ warnings.warn(NODE_USE_FROM_PARENT.format(name=self.__name__), stacklevel=2) E pytest.PytestDeprecationWarning: Direct construction of Feature has been deprecated, please use Feature.from_parent. E See https://docs.pytest.org/en/stable/deprecations.html#node-construction-changed-to-node-from-parent for more details. =============================== warnings summary =============================== /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/config/__init__.py:1040 /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/config/__init__.py:1040 /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/config/__init__.py:1040: PytestAssertRewriteWarning: Module already imported so cannot be rewritten: tests self._mark_plugins_for_rewrite(hook) -- Docs: https://docs.pytest.org/en/stable/warnings.html =========================== short test summary info ============================ ERROR - pytest.PytestDeprecationWarning: Direct construction of Feature has ... !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!! ========================= 2 warnings, 1 error in 1.46s ========================= --END-- _________________________ SimpleScenarioTest.test_tags _________________________ self = def test_tags(self): """ Test specifying the tags to run. """ feature_one = 'features/withtags_one.feature' feature_two = 'features/withtags_two.feature' # Run scenarios by tag > self.assert_feature_success(feature_one, '-m', 'hana') /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/tests/functional/test_simple.py:282: _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = features = ('features/withtags_one.feature', '-m', 'hana'), kwargs = {} result = def assert_feature_success(self, *features, **kwargs): """ Assert that the specified features can be run successfully. """ result = self.run_features(*features, **kwargs) try: > assert result.success E AssertionError /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/tests/testing.py:191: AssertionError ----------------------------- Captured stdout call ----------------------------- --Output-- ============================= test session starts ============================== platform linux -- Python 3.6.7, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 rootdir: /tmp/pytest-of-travis/pytest-16/test_tags0 plugins: eucalyptus-0.3.3, Faker-4.1.2, cov-2.5.1 collected 0 items / 1 error ==================================== ERRORS ==================================== ________________________ ERROR collecting test session _________________________ /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/hooks.py:286: in __call__ return self._hookexec(self, self.get_hookimpls(), kwargs) /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:93: in _hookexec return self._inner_hookexec(hook, methods, kwargs) /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:337: in traced_hookexec return outcome.get_result() /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:335: in outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs)) /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:87: in firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/pytest_eucalyptus/plugin.py:47: in pytest_collect_file return Feature(path, parent) /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/nodes.py:95: in __call__ warnings.warn(NODE_USE_FROM_PARENT.format(name=self.__name__), stacklevel=2) E pytest.PytestDeprecationWarning: Direct construction of Feature has been deprecated, please use Feature.from_parent. E See https://docs.pytest.org/en/stable/deprecations.html#node-construction-changed-to-node-from-parent for more details. =============================== warnings summary =============================== /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/config/__init__.py:1040 /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/config/__init__.py:1040 /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/config/__init__.py:1040: PytestAssertRewriteWarning: Module already imported so cannot be rewritten: tests self._mark_plugins_for_rewrite(hook) -- Docs: https://docs.pytest.org/en/stable/warnings.html =========================== short test summary info ============================ ERROR - pytest.PytestDeprecationWarning: Direct construction of Feature has ... !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!! ========================= 2 warnings, 1 error in 1.19s ========================= --END-- _________________ FeatureTestTest.test_run_good_feature_string _________________ self = def test_run_good_feature_string(self): """ Test running strings as features. """ result = self.run_feature_string( """ Feature: Empty feature Scenario: Empty scenario Given I do nothing Then I do nothing """ ) > assert result.success, result.captured_stream.getvalue() E AssertionError: ============================= test session starts ============================== E platform linux -- Python 3.6.7, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 E rootdir: /tmp/pytest-of-travis/pytest-16/test_run_good_feature_string0 E plugins: eucalyptus-0.3.3, Faker-4.1.2, cov-2.5.1 E collected 0 items / 1 error E E ==================================== ERRORS ==================================== E ________________________ ERROR collecting test session _________________________ E /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/hooks.py:286: in __call__ E return self._hookexec(self, self.get_hookimpls(), kwargs) E /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:93: in _hookexec E return self._inner_hookexec(hook, methods, kwargs) E /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:337: in traced_hookexec E return outcome.get_result() E /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:335: in E outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs)) E /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:87: in E firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, E /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/pytest_eucalyptus/plugin.py:47: in pytest_collect_file E return Feature(path, parent) E /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/nodes.py:95: in __call__ E warnings.warn(NODE_USE_FROM_PARENT.format(name=self.__name__), stacklevel=2) E E pytest.PytestDeprecationWarning: Direct construction of Feature has been deprecated, please use Feature.from_parent. E E See https://docs.pytest.org/en/stable/deprecations.html#node-construction-changed-to-node-from-parent for more details. E =============================== warnings summary =============================== E /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/config/__init__.py:1040 E /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/config/__init__.py:1040 E /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/config/__init__.py:1040: PytestAssertRewriteWarning: Module already imported so cannot be rewritten: tests E self._mark_plugins_for_rewrite(hook) E E -- Docs: https://docs.pytest.org/en/stable/warnings.html E =========================== short test summary info ============================ E ERROR - pytest.PytestDeprecationWarning: Direct construction of Feature has ... E !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!! E ========================= 2 warnings, 1 error in 1.10s ========================= E E assert False E + where False = .success /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/tests/unit/test_testing.py:41: AssertionError ____________ FeatureTestTest.test_run_good_feature_string_non_ascii ____________ self = def test_run_good_feature_string_non_ascii(self): """ Test running strings with non-ASCII symbols as features. """ result = self.run_feature_string( """ # language: zh-CN 功能: Empty feature 场景: Empty scenario 当I do nothing 那么I do nothing """ ) > assert result.success, result.captured_stream.getvalue() E AssertionError: ============================= test session starts ============================== E platform linux -- Python 3.6.7, pytest-6.0.1, py-1.9.0, pluggy-0.13.1 E rootdir: /tmp/pytest-of-travis/pytest-16/test_run_good_feature_string_non_ascii0 E plugins: eucalyptus-0.3.3, Faker-4.1.2, cov-2.5.1 E collected 0 items / 1 error E E ==================================== ERRORS ==================================== E ________________________ ERROR collecting test session _________________________ E /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/hooks.py:286: in __call__ E return self._hookexec(self, self.get_hookimpls(), kwargs) E /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:93: in _hookexec E return self._inner_hookexec(hook, methods, kwargs) E /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:337: in traced_hookexec E return outcome.get_result() E /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:335: in E outcome = _Result.from_call(lambda: oldcall(hook, hook_impls, kwargs)) E /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/pluggy/manager.py:87: in E firstresult=hook.spec.opts.get("firstresult") if hook.spec else False, E /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/pytest_eucalyptus/plugin.py:47: in pytest_collect_file E return Feature(path, parent) E /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/nodes.py:95: in __call__ E warnings.warn(NODE_USE_FROM_PARENT.format(name=self.__name__), stacklevel=2) E E pytest.PytestDeprecationWarning: Direct construction of Feature has been deprecated, please use Feature.from_parent. E E See https://docs.pytest.org/en/stable/deprecations.html#node-construction-changed-to-node-from-parent for more details. E =============================== warnings summary =============================== E /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/config/__init__.py:1040 E /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/config/__init__.py:1040 E /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/lib/python3.6/site-packages/_pytest/config/__init__.py:1040: PytestAssertRewriteWarning: Module already imported so cannot be rewritten: tests E self._mark_plugins_for_rewrite(hook) E E -- Docs: https://docs.pytest.org/en/stable/warnings.html E =========================== short test summary info ============================ E ERROR - pytest.PytestDeprecationWarning: Direct construction of Feature has ... E !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!! E ========================= 2 warnings, 1 error in 1.21s ========================= E E assert False E + where False = .success /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/tests/unit/test_testing.py:89: AssertionError ----------- coverage: platform linux, python 3.6.7-final-0 ----------- Coverage XML written to file coverage.xml FAIL Required test coverage of 90% not reached. Total coverage: 71.03% =========================== short test summary info ============================ FAILED tests/functional/test_callbacks.py::CallbackTest::test_all_callbacks FAILED tests/functional/test_callbacks.py::CallbackTest::test_behave_as - Ass... FAILED tests/functional/test_callbacks.py::CallbackTest::test_behave_as_ru - ... FAILED tests/functional/test_callbacks.py::CallbackTest::test_example_callbacks FAILED tests/functional/test_callbacks.py::CallbackTest::test_feature_callbacks FAILED tests/functional/test_callbacks.py::CallbackTest::test_relative_order FAILED tests/functional/test_callbacks.py::CallbackTest::test_step_callbacks FAILED tests/functional/test_callbacks.py::CallbackTest::test_step_failed - A... FAILED tests/functional/test_callbacks.py::CallbackTest::test_testcase_methods FAILED tests/functional/test_factoryboy.py::FactoryBoyTest::test_factoryboy FAILED tests/functional/test_simple.py::SimpleScenarioTest::test_background FAILED tests/functional/test_simple.py::SimpleScenarioTest::test_error_message FAILED tests/functional/test_simple.py::SimpleScenarioTest::test_error_message_background FAILED tests/functional/test_simple.py::SimpleScenarioTest::test_error_message_outline FAILED tests/functional/test_simple.py::SimpleScenarioTest::test_exact_match FAILED tests/functional/test_simple.py::SimpleScenarioTest::test_failure_zh FAILED tests/functional/test_simple.py::SimpleScenarioTest::test_outlines - A... FAILED tests/functional/test_simple.py::SimpleScenarioTest::test_scenario_indices FAILED tests/functional/test_simple.py::SimpleScenarioTest::test_step_not_found FAILED tests/functional/test_simple.py::SimpleScenarioTest::test_step_not_found_zh FAILED tests/functional/test_simple.py::SimpleScenarioTest::test_success - As... FAILED tests/functional/test_simple.py::SimpleScenarioTest::test_success_zh FAILED tests/functional/test_simple.py::SimpleScenarioTest::test_tags - Asser... FAILED tests/unit/test_testing.py::FeatureTestTest::test_run_good_feature_string FAILED tests/unit/test_testing.py::FeatureTestTest::test_run_good_feature_string_non_ascii ============ 25 failed, 114 passed, 14 skipped in 81.16s (0:01:21) ============= ERROR: InvocationError for command /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/.tox/py36/bin/pytest tests -vvv --cov=aloe --cov=pytest_eucalyptus --cov-report=xml --cov-fail-under=90 (exited with code 1) ___________________________________ summary ____________________________________ ERROR: py36: commands failed write json report at: /tmp/tmpem5tjc7u/pytest_eucalyptus-0.3.3/result.json Time: 195.6 seconds