repo = 'cmdbts2'
archive = <swh.provenance.storage.archive.ArchiveStorage object at 0x7f9bd333f940>
@pytest.mark.parametrize(
"repo",
("cmdbts2", "out-of-order", "with-merges"),
)
def test_archive_graph(repo: str, archive: ArchiveInterface) -> None:
data = load_repo_data(repo)
fill_storage(archive.storage, data)
> with grpc_server(repo) as url:
.tox/py3/lib/python3.7/site-packages/swh/provenance/tests/test_archive_interface.py:239:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
/usr/lib/python3.7/contextlib.py:112: in __enter__
return next(self.gen)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
dataset = 'cmdbts2'
@contextmanager
def grpc_server(dataset):
dataset_path = (
Path(__file__).parents[0] / "data/swhgraph" / dataset / "compressed/example"
)
queue = multiprocessing.Queue()
server = multiprocessing.Process(
target=run_grpc_server, kwargs={"queue": queue, "dataset_path": dataset_path}
)
server.start()
res = queue.get()
if isinstance(res, Exception):
> raise res
E TypeError: make_app() got an unexpected keyword argument 'debug'
.tox/py3/lib/python3.7/site-packages/swh/provenance/tests/conftest.py:196: TypeError
TEST RESULT
TEST RESULT
- Run At
- Sep 30 2022, 6:46 PM