diff options
Diffstat (limited to 'catapult/common/py_trace_event/py_trace_event/trace_event_impl/decorators_test.py')
-rw-r--r-- | catapult/common/py_trace_event/py_trace_event/trace_event_impl/decorators_test.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/catapult/common/py_trace_event/py_trace_event/trace_event_impl/decorators_test.py b/catapult/common/py_trace_event/py_trace_event/trace_event_impl/decorators_test.py index 5bb13ad8..434a3516 100644 --- a/catapult/common/py_trace_event/py_trace_event/trace_event_impl/decorators_test.py +++ b/catapult/common/py_trace_event/py_trace_event/trace_event_impl/decorators_test.py @@ -47,7 +47,8 @@ class DecoratorTests(TraceTest): def test_func_names_work(self): - self.assertEquals('__main__.traced_func', + expected_method_name = __name__ + '.traced_func' + self.assertEquals(expected_method_name, self._get_decorated_method_name(traced_func)) def test_method_names_work(self): |