From 8fb695ebd67bfb83a2c1cddd7d7387dd0537d3ec Mon Sep 17 00:00:00 2001 From: Mikhail Trifonov Date: Thu, 6 Oct 2016 05:06:54 +0300 Subject: [PATCH] fix tests --- example/case_layers.py | 10 +++++----- example/suite_layers.py | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/example/case_layers.py b/example/case_layers.py index b2e749b..b1364a4 100644 --- a/example/case_layers.py +++ b/example/case_layers.py @@ -26,19 +26,19 @@ def on_run(self, case): def on_skip(self, case, reason, result): pass - def on_any_error(self, error, case, result): + def on_any_error(self, error, case, result, tb, timer): pass - def on_error(self, error, case, result): + def on_error(self, error, case, result, tb, timer): pass - def on_context_error(self, error, case, result): + def on_context_error(self, error, case, result, tb, timer): pass - def on_fail(self, fail, case, result): + def on_fail(self, fail, case, result, tb, timer): pass - def on_success(self, case): + def on_success(self, case, timer): pass diff --git a/example/suite_layers.py b/example/suite_layers.py index f87ed4c..89dc894 100644 --- a/example/suite_layers.py +++ b/example/suite_layers.py @@ -28,7 +28,7 @@ def on_teardown(self, suite): def on_any_error(self, error, suite, result): pass - def on_error(self, error, suite, result): + def on_error(self, error, suite, result, tb, timer): pass def on_context_error(self, error, suite, result):