<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/taskflow.git/taskflow/tests/unit/test_engine_helpers.py, 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>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>Fix order of assertEqual for unit.test_*</title>
<updated>2015-10-18T01:42:49+00:00</updated>
<author>
<name>lin-hua-cheng</name>
<email>os.lcheng@gmail.com</email>
</author>
<published>2015-10-18T01:29:39+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/taskflow.git/commit/?id=9a7ed89133c70f909c8636006ef7e65f22d9f1e3'/>
<id>9a7ed89133c70f909c8636006ef7e65f22d9f1e3</id>
<content type='text'>
First parameter should be the expected value.

Change-Id: I2941296e38c3245da298cc64aeb5636fbc4b2eb6
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: I2941296e38c3245da298cc64aeb5636fbc4b2eb6
Partial-Bug: #1357117
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix mock calls</title>
<updated>2015-07-10T13:46:00+00:00</updated>
<author>
<name>Doug Hellmann</name>
<email>doug@doughellmann.com</email>
</author>
<published>2015-07-10T13:46:00+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/taskflow.git/commit/?id=b8d2a5f18e71a870e36719f60cfc0650a8ea686b'/>
<id>b8d2a5f18e71a870e36719f60cfc0650a8ea686b</id>
<content type='text'>
Use the proper assertion methods of the mocks.

Change-Id: I7b02f3b52012976a3ed0b8d5fc445653c0546547
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use the proper assertion methods of the mocks.

Change-Id: I7b02f3b52012976a3ed0b8d5fc445653c0546547
</pre>
</div>
</content>
</entry>
<entry>
<title>Switch to using 'oslo_utils' vs 'oslo.utils'</title>
<updated>2015-01-15T07:56:11+00:00</updated>
<author>
<name>Joshua Harlow</name>
<email>harlowja@gmail.com</email>
</author>
<published>2015-01-11T04:34:10+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/taskflow.git/commit/?id=d748db934a0348da3f1f5b86e61e0b5ca9d2b69a'/>
<id>d748db934a0348da3f1f5b86e61e0b5ca9d2b69a</id>
<content type='text'>
Prefer the non-deprecated 'oslo_utils' instead of
the namespaced 'oslo.utils' wherever it was previously
used.

Change-Id: I9a78150ef5266e1ff22147278162fe3cfe1b2e3f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Prefer the non-deprecated 'oslo_utils' instead of
the namespaced 'oslo.utils' wherever it was previously
used.

Change-Id: I9a78150ef5266e1ff22147278162fe3cfe1b2e3f
</pre>
</div>
</content>
</entry>
<entry>
<title>Deprecate `engine_conf` and prefer `engine` instead</title>
<updated>2014-10-18T20:28:27+00:00</updated>
<author>
<name>Joshua Harlow</name>
<email>harlowja@gmail.com</email>
</author>
<published>2014-09-17T05:46:39+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/taskflow.git/commit/?id=d433a5323ff4fbf1d973ca7605ac62819c19039a'/>
<id>d433a5323ff4fbf1d973ca7605ac62819c19039a</id>
<content type='text'>
To avoid having one set of options coming from `engine_conf`
and another set of options coming from `kwargs` and another set
coming from `engine_conf` if it is a URI just start to shift
toward `engine_conf` being deprecated and `engine` being a string
type only (or a URI with additional query parameters) and having
any additional **kwargs that are provided just get merged into the
final engine options.

This adds a new helper function that handles all these various
options and adds in a keyword argument `engine` that will be shifted
to in a future version (in that future version we can also then
remove the `engine_conf` and just stick to a smaller set of option
mechanisms).

It also adjusts all examples to use this new and more easier to
understand format and adjusts tests, conductor interface to use
this new more easily understandable style of getting an engine.

Change-Id: Ic7617057338e0c63775cf38a24643cff6e454950
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
To avoid having one set of options coming from `engine_conf`
and another set of options coming from `kwargs` and another set
coming from `engine_conf` if it is a URI just start to shift
toward `engine_conf` being deprecated and `engine` being a string
type only (or a URI with additional query parameters) and having
any additional **kwargs that are provided just get merged into the
final engine options.

This adds a new helper function that handles all these various
options and adds in a keyword argument `engine` that will be shifted
to in a future version (in that future version we can also then
remove the `engine_conf` and just stick to a smaller set of option
mechanisms).

It also adjusts all examples to use this new and more easier to
understand format and adjusts tests, conductor interface to use
this new more easily understandable style of getting an engine.

Change-Id: Ic7617057338e0c63775cf38a24643cff6e454950
</pre>
</div>
</content>
</entry>
<entry>
<title>Use oslotest to provide our base test case class</title>
<updated>2014-09-27T21:53:12+00:00</updated>
<author>
<name>Joshua Harlow</name>
<email>harlowja@yahoo-inc.com</email>
</author>
<published>2014-09-10T01:04:40+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/taskflow.git/commit/?id=ce620c399a9e5cf2fd438d0193ba0d83da667a88'/>
<id>ce620c399a9e5cf2fd438d0193ba0d83da667a88</id>
<content type='text'>
The oslotest library has a nice openstack testing integrated
base class that can ensure we setup our base test case using
the right logging fixtures, test timeouts, and output fixtures
that better operate in the openstack ecosystem.

This will also allow us to remove some of the functionality
that we currently have in our base test case and replace it with
the equivalent (or better) functionality that oslotest now
provides.

Part of blueprint use-oslo-test

Change-Id: I1602d5180ec8649a1899185972750ddddf65990f
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The oslotest library has a nice openstack testing integrated
base class that can ensure we setup our base test case using
the right logging fixtures, test timeouts, and output fixtures
that better operate in the openstack ecosystem.

This will also allow us to remove some of the functionality
that we currently have in our base test case and replace it with
the equivalent (or better) functionality that oslotest now
provides.

Part of blueprint use-oslo-test

Change-Id: I1602d5180ec8649a1899185972750ddddf65990f
</pre>
</div>
</content>
</entry>
<entry>
<title>Switch to using oslo.utils and oslo.serialization</title>
<updated>2014-09-20T16:03:11+00:00</updated>
<author>
<name>Joshua Harlow</name>
<email>harlowja@yahoo-inc.com</email>
</author>
<published>2014-09-11T00:13:08+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/taskflow.git/commit/?id=aaa51fd689db73f40088eba7a07ac8a131aad528'/>
<id>aaa51fd689db73f40088eba7a07ac8a131aad528</id>
<content type='text'>
Instead of copying modules from the incubator into taskflow
we can now directly use these same modules from supported
libraries instead so this moves the usage of everything except
uuidutils which wasn't moved over to using those newly published
libraries.

Part of blueprint integrate-and-use-oslo-utils-serialization

Change-Id: I1183bda96e1ddb062d9cab91990186f0f56f0a0e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of copying modules from the incubator into taskflow
we can now directly use these same modules from supported
libraries instead so this moves the usage of everything except
uuidutils which wasn't moved over to using those newly published
libraries.

Part of blueprint integrate-and-use-oslo-utils-serialization

Change-Id: I1183bda96e1ddb062d9cab91990186f0f56f0a0e
</pre>
</div>
</content>
</entry>
<entry>
<title>Enabled hacking checks H305 and H307</title>
<updated>2014-07-17T07:05:48+00:00</updated>
<author>
<name>Christian Berendt</name>
<email>berendt@b1-systems.de</email>
</author>
<published>2014-07-17T07:05:16+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/taskflow.git/commit/?id=6132647fb77b83cc99406b5da9ae3c63666cb447'/>
<id>6132647fb77b83cc99406b5da9ae3c63666cb447</id>
<content type='text'>
* H305  imports not grouped correctly
* H307  like imports should be grouped together

Change-Id: If1dd9c89f65ede6959865a885777cb08c263eca0
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* H305  imports not grouped correctly
* H307  like imports should be grouped together

Change-Id: If1dd9c89f65ede6959865a885777cb08c263eca0
</pre>
</div>
</content>
</entry>
<entry>
<title>Wrap the failure to load in the not found exception</title>
<updated>2014-04-30T22:51:57+00:00</updated>
<author>
<name>Joshua Harlow</name>
<email>harlowja@yahoo-inc.com</email>
</author>
<published>2014-04-25T22:45:34+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/taskflow.git/commit/?id=5c6a1d408109ffbf301510e84543e7d097349e5f'/>
<id>5c6a1d408109ffbf301510e84543e7d097349e5f</id>
<content type='text'>
Wrap the loading of the engine into a not found exception
to match the usage in other entrypoints. This makes the
usage of the various entrypoint loading functions more
consistent.

Change-Id: Id86f7b716c9b3dd76aba411529d2e647ad93a120
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Wrap the loading of the engine into a not found exception
to match the usage in other entrypoints. This makes the
usage of the various entrypoint loading functions more
consistent.

Change-Id: Id86f7b716c9b3dd76aba411529d2e647ad93a120
</pre>
</div>
</content>
</entry>
<entry>
<title>Set logbook/flowdetail/atomdetail meta to empty dict</title>
<updated>2014-03-27T22:30:50+00:00</updated>
<author>
<name>Joshua Harlow</name>
<email>harlowja@yahoo-inc.com</email>
</author>
<published>2014-03-25T23:07:33+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/taskflow.git/commit/?id=f107b042e3c0a3e28ddab108e68351de4988cee5'/>
<id>f107b042e3c0a3e28ddab108e68351de4988cee5</id>
<content type='text'>
Instead of setting to none, and then later setting to
a dictionary just by default set it to an empty dict
which makes it more clear what the intended usage of
the meta attribute is for.

Change-Id: Ic42c423d104f369a43227c4ef4563f1f99635fa0
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead of setting to none, and then later setting to
a dictionary just by default set it to an empty dict
which makes it more clear what the intended usage of
the meta attribute is for.

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