Commit 2d9c4449 authored by Sam Thursfield's avatar Sam Thursfield

functional-tests: Fix brokeness of @expectedFailureJournal decorator

parent fb65a8b9
......@@ -27,6 +27,7 @@ on the files. Note that these tests are highly platform dependant.
from functools import wraps
import sys
import unittest as ut
import configuration as cfg
......@@ -38,11 +39,6 @@ def expectedFailureJournal():
def decorator(func):
def wrapper(*args, **kwargs):
func(*args, **kwargs)
except Exception:
raise Exception(
"Unexpected success. This should fail because journal is disabled")
return wrapper
return decorator
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment