1
0
mirror of https://github.com/gsi-upm/soil synced 2025-12-19 20:08:16 +00:00
This commit is contained in:
J. Fernando Sánchez
2022-03-21 12:53:40 +01:00
parent a40aa55b6a
commit 1a8313e4f6
12 changed files with 81 additions and 33 deletions

View File

@@ -2,7 +2,6 @@ import os
import io
import tempfile
import shutil
from time import time
from unittest import TestCase
from soil import exporters
@@ -68,6 +67,7 @@ class Exporters(TestCase):
'agent_type': 'CounterModel',
'max_time': 2,
'num_trials': n_trials,
'dry_run': False,
'environment_params': {}
}
output = io.StringIO()
@@ -79,6 +79,7 @@ class Exporters(TestCase):
exporters.gexf,
],
stats=[distribution,],
dry_run=False,
outdir=tmpdir,
exporter_params={'copy_to': output})
result = output.getvalue()