From: Thierry Parmentelat Date: Tue, 20 May 2014 05:30:26 +0000 (+0200) Subject: fix decorator slice_mapper__tasks so that steps can be ignored X-Git-Tag: tests-5.3-5~19 X-Git-Url: http://git.onelab.eu/?p=tests.git;a=commitdiff_plain;h=40ab0cf39e29752c4abf2217bbc8fc382e438d11 fix decorator slice_mapper__tasks so that steps can be ignored --- diff --git a/system/TestPlc.py b/system/TestPlc.py index 9bb5f36..93b5981 100644 --- a/system/TestPlc.py +++ b/system/TestPlc.py @@ -109,6 +109,7 @@ class slice_mapper__tasks (object): tasks += slice_method (test_slice, self.options) return Completer (tasks).run (decorator_self.timeout, decorator_self.silent, decorator_self.period) # restore the doc text from the TestSlice method even if a bit odd + wrappee.__name__ = method.__name__ wrappee.__doc__ = slice_method.__doc__ return wrappee @@ -1237,7 +1238,7 @@ class TestPlc: # use another name so we can exclude/ignore it from the tests on the nightly command line def ssh_slice_again(self): return self.ssh_slice() - # note that simply doing ssh_slice_again=ssh_slice would kind od work too + # note that simply doing ssh_slice_again=ssh_slice would kind of work too # but for some reason the ignore-wrapping thing would not @slice_mapper