File: enable-build-time-testing.patch

package info (click to toggle)
python-pbcore 1.6.5%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 19,168 kB
  • sloc: python: 25,497; xml: 2,846; makefile: 251; sh: 24
file content (25 lines) | stat: -rw-r--r-- 875 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Description: Modify setuptools configuration to use nosetests
 Configure nose setuptools configuration as described in
 https://nose.readthedocs.org/en/latest/setuptools_integration.html
 and the manpage for the executable
Author: Afif Elghraoui <afif@ghraoui.name>
Forwarded: not-needed
Last-Update: 2015-08-06
--- a/setup.cfg
+++ b/setup.cfg
@@ -1,2 +1,5 @@
 [metadata]
 description-file = README.md
+[nosetests]
+verbosity=2
+where=tests
--- a/setup.py
+++ b/setup.py
@@ -48,6 +48,7 @@ setup(
                                'data/datasets/yieldtest/*.*']
                                },
     zip_safe = False,
+    test_suite = 'nose.collector',
     entry_points = { "console_scripts" : [ ".open = pbcore.io.opener:entryPoint" ] },
     install_requires=_get_local_requirements(_REQUIREMENTS_FILE),
     tests_require=_get_local_requirements(_REQUIREMENTS_TEST_FILE)