mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
14 lines
337 B
Python
14 lines
337 B
Python
import pytest
|
|
from ..db import conftest
|
|
|
|
|
|
@pytest.fixture(autouse=True)
|
|
def restore_config(request, node_config):
|
|
from bigchaindb import config_utils
|
|
config_utils.set_config(node_config)
|
|
|
|
|
|
@pytest.fixture(scope='function', autouse=True)
|
|
def setup_database(request, node_config):
|
|
conftest.setup_database(request, node_config)
|