From 40ab0cf39e29752c4abf2217bbc8fc382e438d11 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Tue, 20 May 2014 07:30:26 +0200 Subject: [PATCH] fix decorator slice_mapper__tasks so that steps can be ignored --- system/TestPlc.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.43.0