Skip to content

Commit

Permalink
tests runner is now nose + setuptools
Browse files Browse the repository at this point in the history
Previously, there was enigmatic description how to run tests (`make test` was
the command, but no Makefile). In addition, separate requirements file.

Now, single, standard command handles everything.
  • Loading branch information
husio committed Feb 24, 2013
1 parent 9fea45d commit 9bbac3d
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
5 changes: 5 additions & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,11 @@
zip_safe=False,
include_package_data=True,
platforms='any',
test_suite = 'nose.collector',
setup_requires=[
'nose>=1.1.2',
'mock>=0.8',
],
install_requires=[
'Flask>=0.8',
'pycrypto>=2.6',
Expand Down
4 changes: 2 additions & 2 deletions tests/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Running the tests

Go up a directory and run:
Go to main directory and type:

$ make test
python2 setup.py test
Empty file added tests/__init__.py
Empty file.
4 changes: 0 additions & 4 deletions tests/requirements.txt

This file was deleted.

0 comments on commit 9bbac3d

Please sign in to comment.