Hugo
61a4a1720b
Use unittest.mock instead of mock ( #1673 )
...
This module has been included in Python itself since 3.3.
Fixes: https://github.com/rq/rq/issues/1646
2 years ago
MyrikLD
efb24161ab
Replace enum function with internal Enum class ( #1459 )
...
* Removed deprecated (object) inheritance
Add new py38,py39 versions to tox, removed deprecated py27,py34
Replace enum internal function with Enum class
* fix
4 years ago
Wolfgang Langner
972778d041
Fix run_tests to use pytest. ( #1033 )
...
Update tox.ini envlist.
6 years ago
chevell
c2b939d2df
Replace 'async' keyword with 'is_async' for Queue objects ( #977 )
...
* Replaced async keyword with is_async in the Queue class to fix reserved keyword syntax errors in Python 3.7
* Updated tests to use is_async keyword when instantiating Queue objects
* Updated docs to reference is_async keyword for Queue objects
* Updated tox.ini, setup.py and .travis.yml with references to Python 3.7
7 years ago
Arnold Krille
8e99706b16
run python 3.5 on travis, adopt timeouts
...
Also
- Report the five slowest tests to watch for risk of timeout
- Double timeouts.
Maybe that helps pypy on travis to finish successfully.
9 years ago
Arnold Krille
c6765e12ff
Move the flake8 config to setup.cfg
...
My editor (atom) reads the setup.cfg but doesn't parse the cmd-line args in the
tox.ini. So lets move the flake8 config to setup.cfg.
9 years ago
Arnold Krille
eaa001c722
ignore lambdas as function definitions
9 years ago
Vincent Driessen
c344c2f334
Add Python 3.5 unit tests
9 years ago
Vincent Driessen
aa3cf85531
Run flake8 checks as part of test suite.
10 years ago
Vincent Driessen
712e663ffc
Allow passing in positional arguments via tox to pytest.
...
See docs for details: http://tox.readthedocs.org/en/latest/example/general.html
11 years ago
Vincent Driessen
13ae0353c9
Add coverage commands to tox.
11 years ago
Vincent Driessen
c5939479b5
Merge remote-tracking branch 'origin/master' into SanyerMyasoedov-master
...
Conflicts:
rq/decorators.py
tests/__init__.py
tests/test_decorator.py
11 years ago
Vincent Driessen
1f423436a5
Move mock to test-only dependencies.
11 years ago
Vincent Driessen
cb278a9549
Add Python 3.4 to targets.
11 years ago
Alex Morega
2e517001a9
pass on arguments to py.test
12 years ago
Alex Morega
610c26d816
run tests on py33
12 years ago
Vincent Driessen
73e6017896
Add tox tests, for Python 2.6 and PyPy.
12 years ago