Reinstate get_wiki_published_date(), get_wiki_summary() and get_wiki_content() as they may already be used by third parties. Add command-line options to the test.

This commit is contained in:
hugovk 2014-03-07 14:44:19 +02:00
parent 46b86b57da
commit 4c94c8e53f
3 changed files with 65 additions and 13 deletions

View file

@ -87,12 +87,22 @@ export PYLAST_API_KEY=TODO_ENTER_YOURS_HERE
export PYLAST_API_SECRET=TODO_ENTER_YOURS_HERE
```
Then:
To run all:
```
pip install pyyaml
./test_pylast.py
```
Or run just one:
```
./test_pylast.py -1 test_scrobble
```
Or all those tests matching a term:
```
./test_pylast.py -m geo
```
To run with coverage:
```
pip install coverage