<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/taskflow.git/taskflow/tests/unit/patterns, 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>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>Switch from unittest2 compat methods to Python 3.x methods</title>
<updated>2020-07-05T12:04:04+00:00</updated>
<author>
<name>melissaml</name>
<email>ma.lei@99cloud.net</email>
</author>
<published>2020-07-05T12:04:04+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/taskflow.git/commit/?id=cf327a2e2d4e2c504b5080fbf7bd48421fe7b4c7'/>
<id>cf327a2e2d4e2c504b5080fbf7bd48421fe7b4c7</id>
<content type='text'>
With the removal of Python 2.x we can remove the unittest2 compat
wrappers and switch to assertCountEqual instead of assertItemsEqual

We have been able to use them since then, because
testtools required unittest2, which still included it. With testtools
removing Python 2.7 support [3][4], we will lose support for
assertItemsEqual, so we should switch to use assertCountEqual.

[1] - https://bugs.python.org/issue17866
[2] - https://hg.python.org/cpython/rev/d9921cb6e3cd
[3] - testing-cabal/testtools#286
[4] - testing-cabal/testtools#277

Change-Id: Iaa8251a1e9965a00fe99b7a740a104c011260340
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
With the removal of Python 2.x we can remove the unittest2 compat
wrappers and switch to assertCountEqual instead of assertItemsEqual

We have been able to use them since then, because
testtools required unittest2, which still included it. With testtools
removing Python 2.7 support [3][4], we will lose support for
assertItemsEqual, so we should switch to use assertCountEqual.

[1] - https://bugs.python.org/issue17866
[2] - https://hg.python.org/cpython/rev/d9921cb6e3cd
[3] - testing-cabal/testtools#286
[4] - testing-cabal/testtools#277

Change-Id: Iaa8251a1e9965a00fe99b7a740a104c011260340
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace assertRaisesRegexp with assertRaisesRegex</title>
<updated>2017-06-03T06:40:12+00:00</updated>
<author>
<name>Vu Cong Tuan</name>
<email>tuanvc@vn.fujitsu.com</email>
</author>
<published>2017-06-03T05:28:52+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/taskflow.git/commit/?id=db61fad6b237934f410e9ccbd1c24cf13e6c53fb'/>
<id>db61fad6b237934f410e9ccbd1c24cf13e6c53fb</id>
<content type='text'>
assertRaisesRegexp was renamed to assertRaisesRegex in Py3.2
For more details, please check:
https://docs.python.org/3/library/
unittest.html#unittest.TestCase.assertRaisesRegex

Change-Id: I89cce19e80b04074aab9f49a76c7652acace78b3
Closes-Bug: #1436957
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
assertRaisesRegexp was renamed to assertRaisesRegex in Py3.2
For more details, please check:
https://docs.python.org/3/library/
unittest.html#unittest.TestCase.assertRaisesRegex

Change-Id: I89cce19e80b04074aab9f49a76c7652acace78b3
Closes-Bug: #1436957
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow for alterations in decider 'area of influence'</title>
<updated>2016-01-10T06:42:17+00:00</updated>
<author>
<name>Joshua Harlow</name>
<email>harlowja@yahoo-inc.com</email>
</author>
<published>2015-11-17T00:27:42+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/taskflow.git/commit/?id=8e8156c488dea8ae876b112c30e41e60da4f5be7'/>
<id>8e8156c488dea8ae876b112c30e41e60da4f5be7</id>
<content type='text'>
Christmas came early.

Closes-Bug: #1479466

Change-Id: I931d826690c925f022dbfffe9afb7bf41345b1d0
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Christmas came early.

Closes-Bug: #1479466

Change-Id: I931d826690c925f022dbfffe9afb7bf41345b1d0
</pre>
</div>
</content>
</entry>
<entry>
<title>For taskflow patterns don't show taskflow.patterns prefix</title>
<updated>2016-01-05T23:38:43+00:00</updated>
<author>
<name>Joshua Harlow</name>
<email>harlowja@yahoo-inc.com</email>
</author>
<published>2015-12-14T19:06:48+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/taskflow.git/commit/?id=a79ca4883a5a46c82afe909770140e0f9814148e'/>
<id>a79ca4883a5a46c82afe909770140e0f9814148e</id>
<content type='text'>
Showing the full name in flow __str__() isn't expecially
helpful and clutters up graphviz usage and similar so if a taskflow
built-in pattern is stringified just use the short name (that does
not start with taskflow.patterns instead of the full long name).

Change-Id: Icd8c26eab1e19d6ecf9c4e8e82e6d6902ce5b6ea
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Showing the full name in flow __str__() isn't expecially
helpful and clutters up graphviz usage and similar so if a taskflow
built-in pattern is stringified just use the short name (that does
not start with taskflow.patterns instead of the full long name).

Change-Id: Icd8c26eab1e19d6ecf9c4e8e82e6d6902ce5b6ea
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix order of assertEqual for unit.patterns</title>
<updated>2015-10-17T08:22:21+00:00</updated>
<author>
<name>lin-hua-cheng</name>
<email>os.lcheng@gmail.com</email>
</author>
<published>2015-10-17T08:22:21+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/taskflow.git/commit/?id=b3e3e05a028e6ead4db8e700ab26c1013a148cc8'/>
<id>b3e3e05a028e6ead4db8e700ab26c1013a148cc8</id>
<content type='text'>
First parameter should be the expected value.

Change-Id: I06140e4be87663136483d1e7be3bc471fbbbf92b
Partial-Bug: #1357117
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
First parameter should be the expected value.

Change-Id: I06140e4be87663136483d1e7be3bc471fbbbf92b
Partial-Bug: #1357117
</pre>
</div>
</content>
</entry>
<entry>
<title>Use graphs as the underlying structure of patterns</title>
<updated>2015-09-18T17:39:04+00:00</updated>
<author>
<name>Joshua Harlow</name>
<email>harlowja@yahoo-inc.com</email>
</author>
<published>2015-08-07T00:18:45+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/taskflow.git/commit/?id=64583e075f41a5a239de15d6d521ce4bfde69a7d'/>
<id>64583e075f41a5a239de15d6d521ce4bfde69a7d</id>
<content type='text'>
This unifies all the patterns to be graph based so
that they are more uniform and there underlying constraints
are more easy to understand (taskflow basically processes
graphs).

Change-Id: Ib2ab07c1c87165cf40a06508128010887f658391
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This unifies all the patterns to be graph based so
that they are more uniform and there underlying constraints
are more easy to understand (taskflow basically processes
graphs).

Change-Id: Ib2ab07c1c87165cf40a06508128010887f658391
</pre>
</div>
</content>
</entry>
<entry>
<title>iter_nodes method added to flows</title>
<updated>2015-08-28T14:54:25+00:00</updated>
<author>
<name>Timofey Durakov</name>
<email>tdurakov@mirantis.com</email>
</author>
<published>2015-08-13T11:30:51+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/taskflow.git/commit/?id=60a9e6a817dbcf803ef22066fea0e8034b0a9145'/>
<id>60a9e6a817dbcf803ef22066fea0e8034b0a9145</id>
<content type='text'>
New method allows to iterate over flow node and
get access to node metadata during iteration.

Change-Id: Ib0fc77f0597961602fbc3b49ba09e4df815d8230
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
New method allows to iterate over flow node and
get access to node metadata during iteration.

Change-Id: Ib0fc77f0597961602fbc3b49ba09e4df815d8230
</pre>
</div>
</content>
</entry>
<entry>
<title>Use 'node' terminology instead of 'item' terminology</title>
<updated>2015-03-30T20:05:43+00:00</updated>
<author>
<name>Joshua Harlow</name>
<email>harlowja@yahoo-inc.com</email>
</author>
<published>2015-03-30T19:27:24+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/taskflow.git/commit/?id=bb0af4f81d966d3178f9eb4f3fa65f0bc5dbadf3'/>
<id>bb0af4f81d966d3178f9eb4f3fa65f0bc5dbadf3</id>
<content type='text'>
Since graphs are composed of 'nodes' it seems more
appropriate to use that terminology (which is known
to people with graph experience) instead of the non
descriptive and/or standard 'item' terminology.

Change-Id: I04a4521386d3cdf7e58fb9fa8cf26c00443c2cf6
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Since graphs are composed of 'nodes' it seems more
appropriate to use that terminology (which is known
to people with graph experience) instead of the non
descriptive and/or standard 'item' terminology.

Change-Id: I04a4521386d3cdf7e58fb9fa8cf26c00443c2cf6
</pre>
</div>
</content>
</entry>
<entry>
<title>Update Flow::__str__</title>
<updated>2015-02-17T22:18:57+00:00</updated>
<author>
<name>Manish Godara</name>
<email>manishg@yahoo-inc.com</email>
</author>
<published>2015-02-13T23:53:22+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/taskflow.git/commit/?id=06ffceea77ea65f335cfb5652fb057017e5807ba'/>
<id>06ffceea77ea65f335cfb5652fb057017e5807ba</id>
<content type='text'>
The current implementation seems a little cryptic so updating it
to clearly indicate the atom count.

Change-Id: I4f97e458a4b80e33b3d6348a3ef632398586ed47
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The current implementation seems a little cryptic so updating it
to clearly indicate the atom count.

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