You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lokinet/test/hive/conftest.py

13 lines
239 B
Python

#!/usr/bin/env python3
import hive
import pytest
@pytest.fixture(scope="session")
def HiveTenTen():
router_hive = hive.RouterHive(n_relays=10, n_clients=10, netid="hive")
router_hive.Start()
yield router_hive
router_hive.Stop()