Learn more about these different git repos.
Other Git URLs
f9dd0bf
@@ -28,6 +28,14 @@
import unittest
+ # to prevent printing the method's docstring in the nosetests list
+ def shortDescription(self):
+ return None
+
+ unittest.TestCase.shortDescription = shortDescription
class Assertions(object):
def get_exists_method(self, search_dir=None):
Signed-off-by: Ondrej Nosek onosek@redhat.com
Looks good to me.
An alternative may be to consider replacing nose (which is dead in upstream) with pytest.
Ok, this means that I can safely merge it and the code will reside there until pytest adoption. I wasn't aware of the nosetest situation, so I will open an issue for this to track it in the future.
rebased onto f9dd0bf
Pull-Request has been merged by onosek
Signed-off-by: Ondrej Nosek onosek@redhat.com