Added error messages and tests to event settings pages

This commit is contained in:
Raphael Michel
2016-10-02 19:12:33 +02:00
parent 58f7ddb13d
commit 197178fc52
3 changed files with 93 additions and 3 deletions

View File

@@ -0,0 +1,10 @@
from contextlib import contextmanager
from pytest_mock import MockFixture
@contextmanager
def mocker_context():
result = MockFixture()
yield result
result.stopall()