Commit Graph

18 Commits

Author SHA1 Message Date
lowercase00 375ace1747
Typing (#1698)
* Gitignore Venv + VScode

* Add Typings, Add Test to Makefile

* Fix, More typing, Redis Pipeline specific type

* More types

* Fix 3.7- Typing Compat, Add Tox Envs, Tests Dockerfile

* fix listindex error (#1700)

* More docstrings

* More Types

* Fix Typo on Dependency

* Last Types

Co-authored-by: Burak Yılmaz <46003469+yilmaz-burak@users.noreply.github.com>
2022-10-01 16:34:30 +07:00
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
2022-07-24 07:12:40 +07:00
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
2021-05-07 11:10:46 +07:00
Wolfgang Langner 972778d041 Fix run_tests to use pytest. (#1033)
Update tox.ini envlist.
2019-01-22 07:39:43 +07:00
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
2018-07-07 08:50:33 +07:00
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.
2016-06-15 21:35:02 +02:00
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.
2016-03-13 18:42:12 +01:00
Arnold Krille eaa001c722 ignore lambdas as function definitions 2016-03-13 17:50:15 +01:00
Vincent Driessen c344c2f334 Add Python 3.5 unit tests 2015-10-08 15:56:40 +02:00
Vincent Driessen aa3cf85531 Run flake8 checks as part of test suite. 2014-09-08 20:29:12 +02:00
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
2014-07-26 08:38:21 +02:00
Vincent Driessen 13ae0353c9 Add coverage commands to tox. 2014-07-24 23:30:36 +02:00
Vincent Driessen c5939479b5 Merge remote-tracking branch 'origin/master' into SanyerMyasoedov-master
Conflicts:
	rq/decorators.py
	tests/__init__.py
	tests/test_decorator.py
2014-05-06 15:52:35 +02:00
Vincent Driessen 1f423436a5 Move mock to test-only dependencies. 2014-05-06 15:51:23 +02:00
Vincent Driessen cb278a9549 Add Python 3.4 to targets. 2014-04-28 08:34:52 +02:00
Alex Morega 2e517001a9 pass on arguments to py.test 2013-08-05 14:11:01 +03:00
Alex Morega 610c26d816 run tests on py33 2013-08-05 13:47:43 +03:00
Vincent Driessen 73e6017896 Add tox tests, for Python 2.6 and PyPy. 2013-01-23 22:57:44 +01:00