[med-svn] [Git][med-team/pychopper][master] Adusted patch to changed invocation of tests.
Steffen Möller
gitlab at salsa.debian.org
Thu Jun 18 15:21:43 BST 2020
Steffen Möller pushed to branch master at Debian Med / pychopper
Commits:
873f9aca by Steffen Möller at 2020-06-18T16:17:20+02:00
Adusted patch to changed invocation of tests.
- - - - -
2 changed files:
- debian/patches/fixTests.patch
- debian/rules
Changes:
=====================================
debian/patches/fixTests.patch
=====================================
@@ -38,16 +38,3 @@ Index: pychopper/setup.py
# -*- coding: utf-8 -*-
from setuptools import setup
-Index: pychopper/pychopper/tests/test_regression_simple.py
-===================================================================
---- pychopper.orig/pychopper/tests/test_regression_simple.py
-+++ pychopper/pychopper/tests/test_regression_simple.py
-@@ -12,7 +12,7 @@ class TestIntegration(unittest.TestCase)
- pkg_base = path.dirname(path.dirname(base))
- test_base = path.join(base, 'data')
-
-- cdna_classifier = path.join(pkg_base, 'scripts', 'cdna_classifier.py')
-+ cdna_classifier = path.join(pkg_base, '../../../scripts', 'cdna_classifier.py')
- barcodes = path.join(test_base, 'barcodes.fas')
- input_fasta = path.join(test_base, 'ref.fq')
- output_fasta = path.join(test_base, 'test_output.fq')
=====================================
debian/rules
=====================================
@@ -20,7 +20,9 @@ override_dh_auto_clean:
rm -rf .pytest_cache .pybuild
make clean
cd docs && make clean # fails
- rm -f docs/cmd_list.rst docs/pychopper.phmm_data.rst docs/pychopper.primer_data.rst docs/pychopper.tests.rst
+ rm -f docs/cmd_list.rst docs/pychopper.phmm_data.rst docs/pychopper.primer_data.rst docs/pychopper.tests.rst
+ rm -f cdna_classifier_report.pdf cdna_classifier_report.tsv
+
override_dh_auto_test:
dh_auto_test -- --system=custom --test-args="PYTHONPATH={build_dir} {interpreter} -m pytest -v"
View it on GitLab: https://salsa.debian.org/med-team/pychopper/-/commit/873f9acaee85557c6c665288e267d0032993224b
--
View it on GitLab: https://salsa.debian.org/med-team/pychopper/-/commit/873f9acaee85557c6c665288e267d0032993224b
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20200618/85839755/attachment-0001.html>
More information about the debian-med-commit
mailing list