<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/openstack/tempest.git/tempest/lib/base.py, branch master</title>
<subtitle>opendev.org: openstack/tempest
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/tempest.git/'/>
<entry>
<title>Remove usage of unittest2</title>
<updated>2022-01-24T22:49:25+00:00</updated>
<author>
<name>Jon Schlueter</name>
<email>jschluet@redhat.com</email>
</author>
<published>2022-01-24T22:38:48+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/tempest.git/commit/?id=1ff7748623c2d02122bec36542f8bc310d296836'/>
<id>1ff7748623c2d02122bec36542f8bc310d296836</id>
<content type='text'>
from comments when it was last touched it looks like workarounds for
unittest2 might be able to be dropped.

related: https://github.com/mtreinish/stestr/pull/265

simplify the workaround logic around unittest2 TestCase logic

Change-Id: Ibac9d0c2fa2f30605dd44ee58b84946464ea6449
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
from comments when it was last touched it looks like workarounds for
unittest2 might be able to be dropped.

related: https://github.com/mtreinish/stestr/pull/265

simplify the workaround logic around unittest2 TestCase logic

Change-Id: Ibac9d0c2fa2f30605dd44ee58b84946464ea6449
</pre>
</div>
</content>
</entry>
<entry>
<title>Add workaround to handle the testtool skip exception in CLI test</title>
<updated>2019-10-12T01:40:29+00:00</updated>
<author>
<name>Ghanshyam Mann</name>
<email>gmann@ghanshyammann.com</email>
</author>
<published>2019-10-10T22:26:43+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/tempest.git/commit/?id=e64c78dcf720202a0542bb1e1184f5229a11524f'/>
<id>e64c78dcf720202a0542bb1e1184f5229a11524f</id>
<content type='text'>
This commit apply the workaround for testtool skip exception
in CLI test base class.
- https://review.opendev.org/#/c/681340/6

I have modified the workaround done in above commit to more generic
one.

We are good on skipException from test code. That is handled by
teststools.TestCase's self.exception_handlers
- https://github.com/testing-cabal/testtools/blob/f51ce5f934153e80d3e8a95b52e1464daeb30c14/testtools/testcase.py#L275
Mapped handler _report_skip() will add the respective tests to skip list

Current CLI test failure
-https://zuul.opendev.org/t/openstack/build/c1bb61121e1d4d108c52adad200e8991/log/job-output.txt#6354

I have tested both test.BaseTestCase and lib.base.BaseTestCase with all 8 combinations
of below:
 - py &gt;= 3.5 and py &lt; 3.5 (on py2.7)
 - stestr &gt;= 2.50 and stestr &lt; 2.5.0
 - skip exception from setUpClass and skip exception from test code

Closes-Bug: 1847749

Change-Id: Ib70bdffaf4d38743e7cbbeb88af51bb57ceeedf6
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit apply the workaround for testtool skip exception
in CLI test base class.
- https://review.opendev.org/#/c/681340/6

I have modified the workaround done in above commit to more generic
one.

We are good on skipException from test code. That is handled by
teststools.TestCase's self.exception_handlers
- https://github.com/testing-cabal/testtools/blob/f51ce5f934153e80d3e8a95b52e1464daeb30c14/testtools/testcase.py#L275
Mapped handler _report_skip() will add the respective tests to skip list

Current CLI test failure
-https://zuul.opendev.org/t/openstack/build/c1bb61121e1d4d108c52adad200e8991/log/job-output.txt#6354

I have tested both test.BaseTestCase and lib.base.BaseTestCase with all 8 combinations
of below:
 - py &gt;= 3.5 and py &lt; 3.5 (on py2.7)
 - stestr &gt;= 2.50 and stestr &lt; 2.5.0
 - skip exception from setUpClass and skip exception from test code

Closes-Bug: 1847749

Change-Id: Ib70bdffaf4d38743e7cbbeb88af51bb57ceeedf6
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix code to pass pep8 Tox environment.</title>
<updated>2018-04-12T09:09:37+00:00</updated>
<author>
<name>Federico Ressi</name>
<email>fressi@redhat.com</email>
</author>
<published>2018-04-11T10:37:36+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/tempest.git/commit/?id=2d6bcaa7e55be9fd070bade12824709ac848f8fe'/>
<id>2d6bcaa7e55be9fd070bade12824709ac848f8fe</id>
<content type='text'>
Command tox -e pep8 is failing making CI to fail: this fixes it.

Change-Id: I5b1acfc4ba2e0eb16f50bfd1cdaa8edc361923d1
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Command tox -e pep8 is failing making CI to fail: this fixes it.

Change-Id: I5b1acfc4ba2e0eb16f50bfd1cdaa8edc361923d1
</pre>
</div>
</content>
</entry>
<entry>
<title>Add a space between super's and setUpClass</title>
<updated>2016-08-31T11:50:03+00:00</updated>
<author>
<name>gong yong sheng</name>
<email>gong.yongsheng@99cloud.net</email>
</author>
<published>2016-08-31T07:47:22+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/tempest.git/commit/?id=d5b40eba20d242216633c6073dd5f25a44bb7751'/>
<id>d5b40eba20d242216633c6073dd5f25a44bb7751</id>
<content type='text'>
When sub class calls BaseTestCase's setUpClass, the error message
reads "RuntimeError: setUpClass does not calls the
super'ssetUpClass in the xxx". super'ssetUpClass should be
super's setUpClass.

Change-Id: I9f9157da443e558652981c2d29580846b8e786f4
Closes-bug: 1618735
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When sub class calls BaseTestCase's setUpClass, the error message
reads "RuntimeError: setUpClass does not calls the
super'ssetUpClass in the xxx". super'ssetUpClass should be
super's setUpClass.

Change-Id: I9f9157da443e558652981c2d29580846b8e786f4
Closes-bug: 1618735
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove unused LOG</title>
<updated>2016-07-08T05:45:40+00:00</updated>
<author>
<name>zhufl</name>
<email>zhu.fanglei@zte.com.cn</email>
</author>
<published>2016-06-22T06:48:22+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/tempest.git/commit/?id=742f4ab2df62b7602d5c287562e3c00525a89177'/>
<id>742f4ab2df62b7602d5c287562e3c00525a89177</id>
<content type='text'>
This is to remove unused LOG in some files

Change-Id: I4eaf149e2002f30a99730a40a9bd8e4283bdbcb9
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is to remove unused LOG in some files

Change-Id: I4eaf149e2002f30a99730a40a9bd8e4283bdbcb9
</pre>
</div>
</content>
</entry>
<entry>
<title>Migrate tempest-lib code into new lib dir</title>
<updated>2016-02-23T19:15:04+00:00</updated>
<author>
<name>Matthew Treinish</name>
<email>mtreinish@kortar.org</email>
</author>
<published>2016-02-23T16:43:20+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/openstack/tempest.git/commit/?id=9e26ca87600903f7383f7a9a9d6a7fa88593b649'/>
<id>9e26ca87600903f7383f7a9a9d6a7fa88593b649</id>
<content type='text'>
This commit migrates all of the code from tempest-lib as of it's
current HEAD, 6ad0ce42c2791a28125d38b40e7dcddf32dbeed7. The only
changes made to the tempest-lib code is to update the imports and
other references to tempest_lib. Since in it's new home it should
be tempest.lib.

Partially implements bp tempest-lib-reintegration

Change-Id: Iadc1b61953a86fa9de34e285a0bb083b1ba06fa8
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit migrates all of the code from tempest-lib as of it's
current HEAD, 6ad0ce42c2791a28125d38b40e7dcddf32dbeed7. The only
changes made to the tempest-lib code is to update the imports and
other references to tempest_lib. Since in it's new home it should
be tempest.lib.

Partially implements bp tempest-lib-reintegration

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