Skip to content

Commit

Permalink
Only run subset of tests from setup.py test
Browse files Browse the repository at this point in the history
The setuptools invocation of the tests does not put
the test metadata in place, so almost all of the tests
fail.  Only run a few, real metadata-based, tests 
instead.
  • Loading branch information
daviddrysdale committed Apr 19, 2014
1 parent 6686d64 commit 253aa69
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
url='https://github.com/daviddrysdale/python-phonenumbers',
license='Apache License 2.0',
packages=pkgs,
test_suite="tests",
test_suite="tests.examplenumberstest",
platforms='Posix; MacOS X; Windows',
classifiers=['Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
packages=['phonenumbers', 'phonenumbers.data', 'phonenumbers.geodata', 'phonenumbers.shortdata',
'phonenumbers.carrierdata', 'phonenumbers.tzdata'],
package_dir={'': 'python'},
test_suite="tests",
test_suite="tests.examplenumberstest",
platforms='Posix; MacOS X; Windows',
classifiers=['Development Status :: 5 - Production/Stable',
'Intended Audience :: Developers',
Expand Down

0 comments on commit 253aa69

Please sign in to comment.