another new test
@@ -17,15 +17,24 @@ def test_moler_test_warn():
def test_moler_test_not_raise_exception_when_no_steps_end_for_global_method_twice():
+ ConnectionObserver.get_unraised_exceptions()
moler_test_not_raise_exception_when_no_steps_end_for_global_method_twice()
def test_moler_test_raise_exception_when_not_callable_passed():
+ ConnectionObserver.get_unraised_exceptions()
var = "blabla"
with pytest.raises(MolerStatusException):
MolerTest._decorate(var)
+def test_moler_test_wrapper():
+ ConnectionObserver.get_unraised_exceptions()
+ decorated = moler_test_raise_exception_when_no_steps_end_for_global_method
+ ret = MolerTest._wrapper(decorated, False)
+ assert decorated == ret
+
+
def test_moler_test_not_raise_exception_when_steps_end(moler_test_se):
ConnectionObserver.get_unraised_exceptions()
moler_test_se.test_not_raise_exception_when_steps_end()
