Beispiel #1
0
 def setUp(self):
     super().setUp()
     mmodels.fill_mock(curtime=test_now)
     self.today = datetime.datetime(2014, 11, 10, tzinfo=utc)
     self.models = Models.from_settings()
     self.runs = Runs.from_db(self.models, ts_now=test_now)
     self.sel_runs = SelectedRuns()
     self.sel_runs.d0 = self.runs.get("ECMWF", datetime.datetime(2014, 11, 9, tzinfo=utc))
Beispiel #2
0
 def setUp(self):
     mmodels.fill_mock(curtime=test_now)
     self.models = Models.from_settings()
     self.runs = Runs.from_db(self.models, ts_now=test_now)