Skip to content

Commit

Permalink
Skip some tests
Browse files Browse the repository at this point in the history
  • Loading branch information
JBjoernskov committed Jun 4, 2024
1 parent 0daa49e commit ef201c2
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion twin4build/estimator/tests/test_ls_estimator.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def ls_inference(self, ls_res_savedir):



@unittest.skipIf(False, 'Currently not used')
@unittest.skipIf(True, 'Currently not used')
def test_ls_estimator(self):

self.setUpModelAndEstimator()
Expand Down
4 changes: 0 additions & 4 deletions twin4build/examples/space_co2_controller_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,6 @@ def space_co2_controller_example():
stepSize=stepSize,
startTime=startTime,
endTime=endTime)

for d in model.component_dict["Space"].savedOutput:
print(d)
print(model.component_dict["Space"].savedOutput[d])

plot.plot_damper(model=model, simulator=simulator, damper_id="Supply damper")
plot.plot_space_CO2(model=model, simulator=simulator, space_id="Space")
Expand Down
1 change: 0 additions & 1 deletion twin4build/examples/space_co2_no_controller_example.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ def space_co2_no_controller_example():
startTime = datetime.datetime(year=2021, month=1, day=10, hour=0, minute=0, second=0, tzinfo=tz.gettz("Europe/Copenhagen"))
endTime = datetime.datetime(year=2021, month=1, day=12, hour=0, minute=0, second=0, tzinfo=tz.gettz("Europe/Copenhagen"))
model = tb.Model(id="Co2 model")

model.load_model(fcn=fcn, infer_connections=False)


Expand Down
2 changes: 1 addition & 1 deletion twin4build/model/tests/test_LBNL_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ def fcn(self):
self.add_connection(fan, coil, "outletAirTemperature", "inletAirTemperature")
self.add_connection(fan, fan_power_meter, "Power", "Power")

@unittest.skipIf(False, 'Currently not used')
@unittest.skipIf(True, 'Currently not used')
def test_LBNL_model():
colors = sns.color_palette("deep")
blue = colors[0]
Expand Down
2 changes: 1 addition & 1 deletion twin4build/model/tests/test_OU44_room_case.py
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ def fcn(self):


class TestOU44RoomCase(unittest.TestCase):
@unittest.skipIf(False, 'Currently not used')
@unittest.skipIf(True, 'Currently not used')
def test_OU44_room_case(self, show=False):
stepSize = 600 #Seconds
startTime = datetime.datetime(year=2022, month=1, day=3, hour=0, minute=0, second=0, tzinfo=tz.gettz("Europe/Copenhagen"))
Expand Down

0 comments on commit ef201c2

Please sign in to comment.