17 lines
351 B
Python
17 lines
351 B
Python
import pytest
|
|
|
|
from test.exploration_tests.data_json_request_test import processor_fn
|
|
from test.server import set_up_processing_server
|
|
|
|
|
|
@pytest.fixture
|
|
def server():
|
|
server = set_up_processing_server(processor_fn)
|
|
server.config.update({"TESTING": True})
|
|
return server
|
|
|
|
|
|
@pytest.fixture
|
|
def client(server):
|
|
return server.test_client()
|