Make ftp client only default on computers, not servers

This commit is contained in:
Marek Wolan
2024-05-02 15:51:06 +01:00
parent 4763344835
commit b9b922e776
5 changed files with 13 additions and 5 deletions

View File

@@ -86,7 +86,11 @@ class TestApplication(Application):
@pytest.fixture(scope="function")
def uc2_network() -> Network:
return arcd_uc2_network()
with open(PRIMAITE_PATHS.user_config_path / "example_config" / "data_manipulation.yaml") as f:
cfg = yaml.safe_load(f)
game = PrimaiteGame.from_config(cfg)
return game.simulation.network
# return arcd_uc2_network()
@pytest.fixture(scope="function")