Closed halfdan closed 11 years ago
Thanks Fabian, just fixed it with a slightly modified commit.
Any reason why you don't want python setup.py test
to work? Afaik this is common practice for Python projects..
I closed the pull request because this issue is fixed. Thanks for your patch, but I chose a different approach.
That is completely fine - just curious why :)
I think its common practice for Python projects to execute tests by calling
python setup.py test
, this was not possible before so I implemented this. Not sure if some lines in base.py are unnecessary now, so you might want to check that.It would be great to add automatic test builds using Travis-CI to this project. If you like I can work on a solution to get a running Piwik installation onto the Travis-CI server so we can automatically test the library each time a commit happens.
Changes:
python setup.py test
piwikapi/tests/__init__.py