Note that there was a jump from 0.0.5 to 0.0.7. This is due
to an error during last release that mistakenly tagged commit
71d12999b06908bbb019f69c89361bd44bec316c as 0.0.5 when it
should have bumped to 0.0.6.
Change-Id: Icfa6f0d0e3fb08ba17ddf9ec32a9309f8f78fc9c
* Implicit relative import 'import version' to import htmloutput.version.
Use explicit relative import instead 'from . import version'.
Somehow 'from htmloutput import version' does not work for python2
when I tested this with horizon nosetest.
* Python3 dict does not has_key(). Use 'not in' instead.
* Open a file for writing with 'wb' (binary mode).
In Python 3, encode() converts unicode including regular string into
bytes. In Python 2, encode() converts unicode string into string and
string and bytes are handled equivalently. Thus, opening a file with
binary mode works both for python2 and python3.
* Decoding from string to unicode is only needed for Python 2,
so six.PY2 check is added to isinstance(x, str) if-clause.
Change-Id: Ied161e133ced1d672aba9d1a44b52034dfb676da
The nose html output plugin now handles skip tests properly. Bump the
version to 0.0.4 so that this new feature can be released.
Change-Id: I1e5ff6e713ff86089f238c5e021f9e746babff8f
Record skipped tests. Ensure that this plugin runs before the skip test
plugin as that plugin removes the SkipTest exceptions from the pipeline
and the data isn't available unless you run before the skip plugin.
Change-Id: I0f2b1be51981ca0191f36bdd577d98cd0e99e88e
Bump version from 0.0.1 to 0.0.2 in prep for the next release. Next
release will contain fix for tests wrapped with a Nose *Suite.
Change-Id: I596bd941d83b0e5a481d613a720a6d4714025d79
Apparently not every nose test case wrapper has a test member. Validate
that the member exists before accessing it. If the test case does not
have a test member check if it is a Test Suite with a _tests member.
Iterate over that iterable of tests if it exists.
Change-Id: Ie1afeb3ebc023f114975a84d8757d0c282932834
Previously versioning depended on nose which broke setup.py if nose
was not already installed. Break version into its own module so that
it is not dependent on nose.
The nose.case.Test class wraps all tests and in doing so caused the
output to think all tests belonged to that class. Needed to access the
nose.case.Test.test member in order to get the actual test class.
Previously the width of the error message block was static and messages
would go outside the boundary of the border. Change the width to be
relative to make better use of the available space.