Changeset View
Changeset View
Standalone View
Standalone View
package.yml
| name : python-flaky | name : python-flaky | ||||
| version : 3.4.0 | version : 3.5.3 | ||||
| release : 2 | release : 3 | ||||
| source : | source : | ||||
| - https://github.com/box/flaky/archive/v3.4.0.tar.gz : 54d4f99f1208e218b5dd1d0d23a8d5c916e0f406ce52cb7faa281dc3dc19de88 | - https://github.com/box/flaky/archive/v3.5.3.tar.gz : 57f3b11b70e32ad5f03712966130aeeabb64aa8ba6e1c0b89278261877f1c0a5 | ||||
| license : Apache-2.0 | license : Apache-2.0 | ||||
| component : programming.python | component : programming.python | ||||
| summary : Plugin for nose or py.test that automatically reruns flaky tests | summary : Plugin for nose or py.test that automatically reruns flaky tests | ||||
| description: | | description: | | ||||
| Ideally, tests reliably pass or fail, but sometimes test fixtures must rely on components that aren't 100% reliable. With flaky, instead of removing those tests or marking them to @skip, they can be automatically retried. | Ideally, tests reliably pass or fail, but sometimes test fixtures must rely on components that aren't 100% reliable. With flaky, instead of removing those tests or marking them to @skip, they can be automatically retried. | ||||
| builddeps : | builddeps : | ||||
| - python-genty | - python-genty | ||||
| - python-mock | - python-mock | ||||
| Show All 12 Lines | pushd $PKG_BUILD_DIR/py2build | ||||
| nosetests-2.7 --with-flaky --exclude="test_nose_options_example" test/test_nose/ | nosetests-2.7 --with-flaky --exclude="test_nose_options_example" test/test_nose/ | ||||
| py.test -k 'example and not options' --doctest-modules test/test_pytest/ | py.test -k 'example and not options' --doctest-modules test/test_pytest/ | ||||
| py.test -p no:flaky test/test_pytest/test_flaky_pytest_plugin.py | py.test -p no:flaky test/test_pytest/test_flaky_pytest_plugin.py | ||||
| nosetests-2.7 --with-flaky --force-flaky --max-runs 2 test/test_nose/test_nose_options_example.py | nosetests-2.7 --with-flaky --force-flaky --max-runs 2 test/test_nose/test_nose_options_example.py | ||||
| py.test --force-flaky --max-runs 2 test/test_pytest/test_pytest_options_example.py | py.test --force-flaky --max-runs 2 test/test_pytest/test_pytest_options_example.py | ||||
| popd | popd | ||||
| pushd $PKG_BUILD_DIR/py3build | pushd $PKG_BUILD_DIR/py3build | ||||
| # there is something wrong with python 3 nose | export PYTHONPATH=$installdir/usr/lib/python%python3_version%/site-packages | ||||
| export PYTHONPATH=$installdir/usr/lib/python3.6/site-packages | nosetests-%python3_version% --with-flaky --exclude="test_nose_options_example" test/test_nose/ | ||||
| py.test3 -k 'example and not options' --doctest-modules test/test_pytest/ | py.test3 -k 'example and not options' --doctest-modules test/test_pytest/ | ||||
| py.test3 -p no:flaky test/test_pytest/test_flaky_pytest_plugin.py | py.test3 -p no:flaky test/test_pytest/test_flaky_pytest_plugin.py | ||||
| nosetests-%python3_version% --with-flaky --force-flaky --max-runs 2 test/test_nose/test_nose_options_example.py | |||||
| py.test3 --force-flaky --max-runs 2 test/test_pytest/test_pytest_options_example.py | py.test3 --force-flaky --max-runs 2 test/test_pytest/test_pytest_options_example.py | ||||
| popd | popd | ||||
Copyright © 2015-2021 Solus Project. The Solus logo is Copyright © 2016-2021 Solus Project. All Rights Reserved.