Reorganization
This commit is contained in:
parent
c64e348bf2
commit
f44c888ace
26 changed files with 3 additions and 3 deletions
19
state/test/fixtures/state.py
vendored
19
state/test/fixtures/state.py
vendored
|
|
@ -1,19 +0,0 @@
|
|||
import pytest
|
||||
from state.pystate import PyState
|
||||
# from state.rdfstate import RDFState
|
||||
# from state.neo4jstate import Neo4jState
|
||||
|
||||
|
||||
@pytest.fixture(params=[
|
||||
(PyState,),
|
||||
# (RDFState, "http://example.org/#"),
|
||||
# (Neo4jState,)
|
||||
])
|
||||
def state(request):
|
||||
if len(request.param) > 1:
|
||||
state = request.param[0](*request.param[1:])
|
||||
else:
|
||||
state = request.param[0]()
|
||||
yield state
|
||||
# if isinstance(state, Neo4jState):
|
||||
# state.close(clear=True)
|
||||
Loading…
Add table
Add a link
Reference in a new issue