Rerun flaky interation tests
This commit is contained in:
parent
38d204ad90
commit
816be1cbe8
|
@ -80,7 +80,7 @@ export PYLAST_API_SECRET=TODO_ENTER_YOURS_HERE
|
||||||
|
|
||||||
To run all unit and integration tests:
|
To run all unit and integration tests:
|
||||||
```sh
|
```sh
|
||||||
pip install pytest
|
pip install pytest flaky
|
||||||
py.test
|
py.test
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
"""
|
"""
|
||||||
Integration (not unit) tests for pylast.py
|
Integration (not unit) tests for pylast.py
|
||||||
"""
|
"""
|
||||||
|
from flaky import flaky
|
||||||
import os
|
import os
|
||||||
import pytest
|
import pytest
|
||||||
from random import choice
|
from random import choice
|
||||||
|
@ -30,6 +31,7 @@ def load_secrets():
|
||||||
return doc
|
return doc
|
||||||
|
|
||||||
|
|
||||||
|
@flaky
|
||||||
class TestPyLast(unittest.TestCase):
|
class TestPyLast(unittest.TestCase):
|
||||||
|
|
||||||
secrets = None
|
secrets = None
|
||||||
|
|
Loading…
Reference in a new issue