Skip to content

Commit cfcee5d

Browse files
Artem RyabkovGilBecker-Anaplan
authored andcommitted
integration tests moved to tox test target (via allure-framework#562)
1 parent 2325844 commit cfcee5d

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

allure-pytest/test/integration/pytest_flakes/pytest_flakes_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def test_pytest_flakes(allured_testdir):
1616
allured_testdir.run_with_allure("--flakes")
1717

1818
assert_that(allured_testdir.allure_report,
19-
has_test_case("test_pytest_flakes.py",
19+
has_test_case("flake-8",
2020
with_status("broken")
2121
),
2222

allure-pytest/tox.ini

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,16 @@ deps =
1616
{distshare}/allure-python-commons-?.*.zip
1717
pyhamcrest
1818
mock
19+
pytest-flakes
20+
pytest-rerunfailures
21+
pytest-xdist
22+
pytest-lazy-fixture
1923

2024
commands =
2125
py.test --basetemp={envtmpdir}/tmp \
2226
--alluredir={envtmpdir}/allure-results \
2327
-W ignore::pytest.PytestExperimentalApiWarning \
24-
-p pytester {posargs: ./test/acceptance}
28+
-p pytester {posargs: ./test/acceptance ./test/integration}
2529

2630
[testenv:integration]
2731
description = Test integration with pytest-flakes

0 commit comments

Comments
 (0)