<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/rq.git/tests/test_utils.py, branch wait-for-processing-unit</title>
<subtitle>github.com: nvie/rq.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/rq.git/'/>
<entry>
<title>Cache redis version in the connection object (#1742)</title>
<updated>2022-12-28T23:58:13+00:00</updated>
<author>
<name>Oscar Arbeláez-Echeverri</name>
<email>oscar@arbelaez.dev</email>
</author>
<published>2022-12-28T23:58:13+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/rq.git/commit/?id=9aaceb22e6d721190d8531981791a2782eb02b96'/>
<id>9aaceb22e6d721190d8531981791a2782eb02b96</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Improve the lint situation (#1688)</title>
<updated>2022-08-06T23:48:00+00:00</updated>
<author>
<name>Yang Yang</name>
<email>y4n9squared@gmail.com</email>
</author>
<published>2022-08-06T23:48:00+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/rq.git/commit/?id=9db728921d92b3edc8107154e07362b3ed7a8e24'/>
<id>9db728921d92b3edc8107154e07362b3ed7a8e24</id>
<content type='text'>
* Move common flake8 options into config file

Currently --max-line-length being specified in two places. Just use the
existing value in the config file as the source of truth.

Move --count and --statistics to config file as well.

* Fix some lints</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Move common flake8 options into config file

Currently --max-line-length being specified in two places. Just use the
existing value in the config file as the source of truth.

Move --count and --statistics to config file as well.

* Fix some lints</pre>
</div>
</content>
</entry>
<entry>
<title>Drop python2-specific syntax (#1674)</title>
<updated>2022-07-24T01:17:07+00:00</updated>
<author>
<name>Hugo</name>
<email>hugo@whynothugo.nl</email>
</author>
<published>2022-07-24T01:17:07+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/rq.git/commit/?id=d5175c38da3efee26957a0e6d58f00c55387b349'/>
<id>d5175c38da3efee26957a0e6d58f00c55387b349</id>
<content type='text'>
* Drop syntax required only for Python 2

* Drop python2-style super() calls

Co-authored-by: Selwin Ong &lt;selwin.ong@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Drop syntax required only for Python 2

* Drop python2-style super() calls

Co-authored-by: Selwin Ong &lt;selwin.ong@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Use unittest.mock instead of mock (#1673)</title>
<updated>2022-07-24T00:12:40+00:00</updated>
<author>
<name>Hugo</name>
<email>hugo@whynothugo.nl</email>
</author>
<published>2022-07-24T00:12:40+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/rq.git/commit/?id=61a4a1720bb5d8392411fefbc93a3a58b1f98723'/>
<id>61a4a1720bb5d8392411fefbc93a3a58b1f98723</id>
<content type='text'>
This module has been included in Python itself since 3.3.

Fixes: https://github.com/rq/rq/issues/1646</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This module has been included in Python itself since 3.3.

Fixes: https://github.com/rq/rq/issues/1646</pre>
</div>
</content>
</entry>
<entry>
<title>Python 3.10 compatibility (#1563)</title>
<updated>2021-10-07T08:55:25+00:00</updated>
<author>
<name>rpkak</name>
<email>67059904+rpkak@users.noreply.github.com</email>
</author>
<published>2021-10-07T08:55:25+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/rq.git/commit/?id=6692587f74261a2121408f6e231d0ab46630ecc0'/>
<id>6692587f74261a2121408f6e231d0ab46630ecc0</id>
<content type='text'>
* use shutil.get_terminal_size instead of click.get_terminal_size()

resolves warning:

rq/cli/helpers.py:107: DeprecationWarning: 'click.get_terminal_size()' is deprecated and will be removed in Click 8.1. Use 'shutil.get_terminal_size()' instead.
  termwidth, _ = click.get_terminal_size()

* remove StrictVersion from rq

* asyncio.get_event_loop -&gt; asyncio.new_event_loop()

resolves warning:

tests/test_job.py::TestJob::test_create_job_with_async
  rq/rq/job.py:839: DeprecationWarning: There is no current event loop
    loop = asyncio.get_event_loop()

* Add python 3.10 to matrix

Co-authored-by: rpkak &lt;rpkak@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* use shutil.get_terminal_size instead of click.get_terminal_size()

resolves warning:

rq/cli/helpers.py:107: DeprecationWarning: 'click.get_terminal_size()' is deprecated and will be removed in Click 8.1. Use 'shutil.get_terminal_size()' instead.
  termwidth, _ = click.get_terminal_size()

* remove StrictVersion from rq

* asyncio.get_event_loop -&gt; asyncio.new_event_loop()

resolves warning:

tests/test_job.py::TestJob::test_create_job_with_async
  rq/rq/job.py:839: DeprecationWarning: There is no current event loop
    loop = asyncio.get_event_loop()

* Add python 3.10 to matrix

Co-authored-by: rpkak &lt;rpkak@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>Extract `Job.get_call_string` logic to `utils.get_call_string` (#1499)</title>
<updated>2021-06-23T14:12:39+00:00</updated>
<author>
<name>Adrian Sadłocha</name>
<email>adrian.adek@gmail.com</email>
</author>
<published>2021-06-23T14:12:39+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/rq.git/commit/?id=caa4efc35bae6f9f6b7fe47decd7b813e8d4b4fb'/>
<id>caa4efc35bae6f9f6b7fe47decd7b813e8d4b4fb</id>
<content type='text'>
* Extract `Job.get_call_string` logic to `utils.get_call_string`

* Remove an outdaded comment

* Move `truncate_long_string` to `utils`

* Remove `truncate` parameter in `get_call_string`

* Add a test for `get_call_string`

* Move `truncate_long_string` to module's top level

* Add a test case for `truncate_long_string` suite</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Extract `Job.get_call_string` logic to `utils.get_call_string`

* Remove an outdaded comment

* Move `truncate_long_string` to `utils`

* Remove `truncate` parameter in `get_call_string`

* Add a test for `get_call_string`

* Move `truncate_long_string` to module's top level

* Add a test case for `truncate_long_string` suite</pre>
</div>
</content>
</entry>
<entry>
<title>clean_worker_registry cleans in batches to prevent submitting too muc… (#1390)</title>
<updated>2021-01-09T03:12:51+00:00</updated>
<author>
<name>AxeOfMen</name>
<email>AxeOfMen@users.noreply.github.com</email>
</author>
<published>2021-01-09T03:12:51+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/rq.git/commit/?id=709043989a8d2067e588a1421089c9a7e28fc02a'/>
<id>709043989a8d2067e588a1421089c9a7e28fc02a</id>
<content type='text'>
* clean_worker_registry cleans in batches to prevent submitting too much data to redis at once when there are a large number of invalid keys

* Address code review comments

Rename MAX_REMOVABLE_KEYS to MAX_KEYS

* Fix tests

Co-authored-by: Joel Harris &lt;combolations@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* clean_worker_registry cleans in batches to prevent submitting too much data to redis at once when there are a large number of invalid keys

* Address code review comments

Rename MAX_REMOVABLE_KEYS to MAX_KEYS

* Fix tests

Co-authored-by: Joel Harris &lt;combolations@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>get_redis_server_version() should handle 4 digit version numbers (#1322)</title>
<updated>2020-08-16T04:23:29+00:00</updated>
<author>
<name>Selwin Ong</name>
<email>selwin.ong@gmail.com</email>
</author>
<published>2020-08-16T04:23:29+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/rq.git/commit/?id=39fb709c10461340adb5f9f852d1483607c28a6f'/>
<id>39fb709c10461340adb5f9f852d1483607c28a6f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>add milliseconds into timestamps, fix #721</title>
<updated>2017-09-09T19:28:53+00:00</updated>
<author>
<name>Samuel Colvin</name>
<email>s@muelcolvin.com</email>
</author>
<published>2017-09-09T19:28:53+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/rq.git/commit/?id=260fd84f5148997ad07dfaed0c3c2016a5c74d8d'/>
<id>260fd84f5148997ad07dfaed0c3c2016a5c74d8d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed #870 Improved test coverage for connections.py and utils.py</title>
<updated>2017-08-31T11:23:17+00:00</updated>
<author>
<name>Theo</name>
<email>theo.despoudis@teckro.com</email>
</author>
<published>2017-08-31T11:23:17+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/rq.git/commit/?id=ee64114e6ef8541c844aeae8e9f28d20751b49da'/>
<id>ee64114e6ef8541c844aeae8e9f28d20751b49da</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
