forked from Github-Mirrors/canaille
15 lines
348 B
Python
15 lines
348 B
Python
![]() |
import pytest
|
||
|
from canaille.backends import Backend
|
||
|
|
||
|
|
||
|
def test_required_methods(testclient):
|
||
|
with pytest.raises(NotImplementedError):
|
||
|
Backend.validate({})
|
||
|
|
||
|
backend = Backend(testclient.app)
|
||
|
with pytest.raises(NotImplementedError):
|
||
|
backend.setup()
|
||
|
|
||
|
with pytest.raises(NotImplementedError):
|
||
|
backend.teardown()
|