Rerun flaky interation tests

This commit is contained in:
hugovk 2015-04-12 12:54:22 +03:00
parent 38d204ad90
commit 816be1cbe8
3 changed files with 5 additions and 2 deletions

View file

@ -80,7 +80,7 @@ export PYLAST_API_SECRET=TODO_ENTER_YOURS_HERE
To run all unit and integration tests:
```sh
pip install pytest
pip install pytest flaky
py.test
```

View file

@ -2,6 +2,7 @@
"""
Integration (not unit) tests for pylast.py
"""
from flaky import flaky
import os
import pytest
from random import choice
@ -30,6 +31,7 @@ def load_secrets():
return doc
@flaky
class TestPyLast(unittest.TestCase):
secrets = None

View file

@ -10,6 +10,7 @@ deps =
mock
ipdb
pytest-cov
flaky
commands = py.test -v --cov pylast --cov-report term-missing {posargs}
[testenv:venv]
@ -28,4 +29,4 @@ commands =
pyflakes tests
pep8 pylast
pep8 tests
./clonedigger.sh
./clonedigger.sh