Commit 02fbaa98 authored by Jesse VanderWees's avatar Jesse VanderWees 🐘

remove pyfmi references in simulation tests

parent 263627f4
from rtctools.simulation.simulation_problem import SimulationProblem
from rtctools.simulation.pi_mixin import PIMixin
from pyfmi.fmi_algorithm_drivers import FMICSAlgOptions
import os
import re
import numpy as np
......@@ -9,8 +8,6 @@ import collections
from .data_path import data_path
from test_case import TestCase
import pyfmi
class SimulationTestProblem(PIMixin, SimulationProblem):
#pi_validate_timeseries = False
def __init__(self):
......
from rtctools.simulation.simulation_problem import SimulationProblem
from pyfmi.fmi_algorithm_drivers import FMICSAlgOptions
import os
import re
import numpy as np
......@@ -8,8 +7,6 @@ import collections
from .data_path import data_path
from test_case import TestCase
import pyfmi
class SimulationTestProblem(SimulationProblem):
def __init__(self):
super().__init__(input_folder=data_path(), output_folder=data_path(
......@@ -21,10 +18,6 @@ class TestSimulation(TestCase):
def test_object(self):
self.assertIsInstance(self.problem, SimulationTestProblem)
def test_options(self):
options = self.problem.get_options()
self.assertIsInstance(options, FMICSAlgOptions)
def test_get_variables(self):
all_variables = self.problem.get_variables()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment