Skip to content

Commit d564749

Browse files
committed
Support for python setup.py nosetests
1 parent d524bb4 commit d564749

2 files changed

Lines changed: 8 additions & 3 deletions

File tree

setup.cfg

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
[nosetests]
2-
match=^test
3-
where=oca
2+
#match=^test
3+
where=oca/tests
44
nocapture=1
5-
cover-package=oca
65
cover-erase=1
6+
detailed-errors=1
7+
with-coverage=1
8+
cover-package=oca
9+
pdb=1
10+
pdb-failures=1
711

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
version=__version__,
1919
description='Bindings for XMLRPC OpenNebula Cloud API',
2020
long_description=README + '\n\n' + CHANGES,
21+
test_suite = 'nose.collector',
2122
classifiers=[
2223
'Development Status :: 3 - Alpha',
2324
'License :: OSI Approved :: Apache Software License',

0 commit comments

Comments
 (0)