mirror of
https://github.com/pretix/pretix.git
synced 2026-08-18 12:06:26 +00:00
Added error messages and tests to event settings pages
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
from contextlib import contextmanager
|
||||
|
||||
from pytest_mock import MockFixture
|
||||
|
||||
|
||||
@contextmanager
|
||||
def mocker_context():
|
||||
result = MockFixture()
|
||||
yield result
|
||||
result.stopall()
|
||||
Reference in New Issue
Block a user