Fix reporting of tests not in a class

Change-Id: I8d4fd114203de8500e17211cce608c2a92efd706
This commit is contained in:
Jason Kölker 2012-07-16 10:57:22 -05:00
parent 1439bd1e3d
commit a1037419ef
2 changed files with 2 additions and 2 deletions

View File

@ -229,7 +229,7 @@ class Openstack(plugins.Plugin):
stream.writeln("Slowest %i tests took %.2f secs:"
% (len(slow_tests), slow_total_time))
for time, test in sorted(slow_tests, reverse=True):
name = '.'.join(test)
name = '.'.join([str(i) for i in test])
self.colorizer.writeln(" %.2f %s" % (time, name),
self._get_color(time))

View File

@ -1,6 +1,6 @@
from setuptools import setup, find_packages
version = "0.10"
version = "0.11"
setup(name="openstack.nose_plugin",
version=version,