<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/taskflow.git/taskflow/tests, branch master</title>
<subtitle>opendev.org: openstack/taskflow.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/taskflow.git/'/>
<entry>
<title>Merge "Fix parsing of zookeeper jobboard backend options"</title>
<updated>2023-04-19T00:11:52+00:00</updated>
<author>
<name>Zuul</name>
<email>zuul@review.opendev.org</email>
</author>
<published>2023-04-19T00:11:52+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/taskflow.git/commit/?id=5c1b7e58dd54c474544c5393d46772b78a061646'/>
<id>5c1b7e58dd54c474544c5393d46772b78a061646</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Change StrictRedis usage to Redis"</title>
<updated>2023-02-17T13:27:20+00:00</updated>
<author>
<name>Zuul</name>
<email>zuul@review.opendev.org</email>
</author>
<published>2023-02-17T13:27:20+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/taskflow.git/commit/?id=e5e572ab8e407d2779b96d3aac333713f79b3533'/>
<id>e5e572ab8e407d2779b96d3aac333713f79b3533</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix parsing of zookeeper jobboard backend options</title>
<updated>2023-01-12T08:59:29+00:00</updated>
<author>
<name>Gregory Thiemonge</name>
<email>gthiemon@redhat.com</email>
</author>
<published>2022-12-09T07:14:36+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/taskflow.git/commit/?id=086b3e4335194cbe2bbfcd8c422fa21952124b44'/>
<id>086b3e4335194cbe2bbfcd8c422fa21952124b44</id>
<content type='text'>
Fix the zookeeper backend options when values are passed as strings,
a "False" string is now treated as the False boolean.

Closes-Bug: #1999174
Change-Id: I048faf06d89ebf980efe0598e647f2ec89f65ada
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix the zookeeper backend options when values are passed as strings,
a "False" string is now treated as the False boolean.

Closes-Bug: #1999174
Change-Id: I048faf06d89ebf980efe0598e647f2ec89f65ada
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix test_while_is_not with python 3.11</title>
<updated>2022-12-05T17:21:48+00:00</updated>
<author>
<name>Gregory Thiemonge</name>
<email>gthiemon@redhat.com</email>
</author>
<published>2022-12-05T17:18:43+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/taskflow.git/commit/?id=5bcac4c7d4503be8161bcf159981199e3ea89d4d'/>
<id>5bcac4c7d4503be8161bcf159981199e3ea89d4d</id>
<content type='text'>
The test_while_is_not function relied on strings and literals to test
the 'while_is_not' function. But the while_is_not function uses the 'is'
operator to test the equivalency of 2 objects.
This triggers a bug with python 3.11 where using 'is' with literals is
not advised (it is not recommended since python 3.8 [0]).
The test now uses objects from a specific class to evaluate the
while_is_not function.

[0] https://docs.python.org/3/whatsnew/3.8.html#changes-in-python-behavior

Change-Id: I38a0135aaf73e25aa20a11c0685d5c2a7b587a07
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The test_while_is_not function relied on strings and literals to test
the 'while_is_not' function. But the while_is_not function uses the 'is'
operator to test the equivalency of 2 objects.
This triggers a bug with python 3.11 where using 'is' with literals is
not advised (it is not recommended since python 3.8 [0]).
The test now uses objects from a specific class to evaluate the
while_is_not function.

[0] https://docs.python.org/3/whatsnew/3.8.html#changes-in-python-behavior

Change-Id: I38a0135aaf73e25aa20a11c0685d5c2a7b587a07
</pre>
</div>
</content>
</entry>
<entry>
<title>Change StrictRedis usage to Redis</title>
<updated>2022-09-29T08:37:05+00:00</updated>
<author>
<name>Tobias Urdin</name>
<email>tobias.urdin@binero.com</email>
</author>
<published>2022-09-28T10:21:46+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/taskflow.git/commit/?id=4ff2d00178c1c5f3fe65c0ba6b0986df618cab78'/>
<id>4ff2d00178c1c5f3fe65c0ba6b0986df618cab78</id>
<content type='text'>
The StrictRedis class is only an alias for
Redis in &gt;= 3.0.0

Change-Id: Ief27531f120a50805053c214cb61bb4151678d70
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The StrictRedis class is only an alias for
Redis in &gt;= 3.0.0

Change-Id: Ief27531f120a50805053c214cb61bb4151678d70
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge "Quote string representations"</title>
<updated>2022-06-13T16:32:31+00:00</updated>
<author>
<name>Zuul</name>
<email>zuul@review.opendev.org</email>
</author>
<published>2022-06-13T16:32:31+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/taskflow.git/commit/?id=6dfc18013a2570c839828d6d879a9ab6a4964d91'/>
<id>6dfc18013a2570c839828d6d879a9ab6a4964d91</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Quote string representations</title>
<updated>2022-06-10T09:45:32+00:00</updated>
<author>
<name>Michael Johnson</name>
<email>johnsomor@gmail.com</email>
</author>
<published>2022-06-09T18:02:21+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/taskflow.git/commit/?id=2521e3ee00d91d4002b751ecea06906fdf1c9b0e'/>
<id>2521e3ee00d91d4002b751ecea06906fdf1c9b0e</id>
<content type='text'>
networkx 2.8.3 will raise errors if certain characters, such as a colon, in the node names and the string is not quoted.
This patch double quotes flow, node, and task string representations to make sure there are not issues with these characters occuring in the names.

Story: 2010083
Change-Id: Ib0941cddf14dde5d6b9f97fe0224d6e6f3975226
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
networkx 2.8.3 will raise errors if certain characters, such as a colon, in the node names and the string is not quoted.
This patch double quotes flow, node, and task string representations to make sure there are not issues with these characters occuring in the names.

Story: 2010083
Change-Id: Ib0941cddf14dde5d6b9f97fe0224d6e6f3975226
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove six</title>
<updated>2022-05-18T07:12:37+00:00</updated>
<author>
<name>Takashi Kajinami</name>
<email>tkajinam@redhat.com</email>
</author>
<published>2022-05-17T13:56:45+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/taskflow.git/commit/?id=44f17d005ff53008144ca7c509bcb1307d66b23f'/>
<id>44f17d005ff53008144ca7c509bcb1307d66b23f</id>
<content type='text'>
This library no longer supports Python 2, thus usage of six can be
removed. This also removes workaround about pickle library used in
Python 2 only.

Change-Id: I19d298cf0f402d65f0b142dea0bf35cf992332a9
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This library no longer supports Python 2, thus usage of six can be
removed. This also removes workaround about pickle library used in
Python 2 only.

Change-Id: I19d298cf0f402d65f0b142dea0bf35cf992332a9
</pre>
</div>
</content>
</entry>
<entry>
<title>Use LOG.warning instead of deprecated LOG.warn</title>
<updated>2021-11-29T05:30:04+00:00</updated>
<author>
<name>Takashi Kajinami</name>
<email>tkajinam@redhat.com</email>
</author>
<published>2021-11-29T04:46:09+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/taskflow.git/commit/?id=86bfa272c5129796642d3614d8c8ed33dd9d094e'/>
<id>86bfa272c5129796642d3614d8c8ed33dd9d094e</id>
<content type='text'>
The LOG.warn method is deprecated[1] and the LOG.warning method should
be used instead.

[1] https://docs.python.org/3/library/logging.html#logging.warning

Change-Id: I4321a489c56eb1aa650e776ee35d8f88d4d8910c
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The LOG.warn method is deprecated[1] and the LOG.warning method should
be used instead.

[1] https://docs.python.org/3/library/logging.html#logging.warning

Change-Id: I4321a489c56eb1aa650e776ee35d8f88d4d8910c
</pre>
</div>
</content>
</entry>
<entry>
<title>Use unittest.mock instead of mock</title>
<updated>2021-04-27T21:47:11+00:00</updated>
<author>
<name>Hervé Beraud</name>
<email>hberaud@redhat.com</email>
</author>
<published>2021-01-05T08:14:51+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/taskflow.git/commit/?id=14a5c0f237362f88c88f23175268b67084dfac1f'/>
<id>14a5c0f237362f88c88f23175268b67084dfac1f</id>
<content type='text'>
The mock third party library was needed for mock support in py2
runtimes. Since we now only support py36 and later, we can use the
standard lib unittest.mock module instead.

Change-Id: Ib169e3deb7ddb2bc93a206ebec4043552281aa7f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The mock third party library was needed for mock support in py2
runtimes. Since we now only support py36 and later, we can use the
standard lib unittest.mock module instead.

Change-Id: Ib169e3deb7ddb2bc93a206ebec4043552281aa7f
</pre>
</div>
</content>
</entry>
</feed>
