d/rules: update test arguments
This commit is contained in:
parent
fdc21bac02
commit
ebe8e48994
8
debian/rules
vendored
8
debian/rules
vendored
|
@ -2,8 +2,10 @@
|
|||
|
||||
export PYBUILD_NAME=pytest-mock
|
||||
|
||||
export PYBUILD_BEFORE_TEST=cp -r {dir}/*.egg-info {build_dir}
|
||||
export PYBUILD_TEST_ARGS={dir}/test_pytest_mock.py
|
||||
# Add the pytest-mock egg to the build dir, so pytest can find it when
|
||||
# running the tests.
|
||||
export PYBUILD_BEFORE_TEST=cp -r {dir}/src/*.egg-info {build_dir}
|
||||
export PYBUILD_TEST_ARGS={dir}/tests
|
||||
export PYBUILD_AFTER_TEST=rm -rf {build_dir}/*.egg-info
|
||||
|
||||
%:
|
||||
|
@ -11,4 +13,4 @@ export PYBUILD_AFTER_TEST=rm -rf {build_dir}/*.egg-info
|
|||
|
||||
override_dh_auto_clean:
|
||||
dh_auto_clean
|
||||
rm -f _pytest_mock_version.py
|
||||
rm -f src/pytest_mock/_version.py
|
||||
|
|
Loading…
Reference in a new issue