@@ -63,8 +63,8 @@ def test_createVariable(self):
6363 nodv = - 9999
6464 speciation = "mg/L as PO4"
6565 definition = "This is a test variable"
66- v = models .Variables (VariableCode = code , VariableName = name , VariableTypeCV = vType , NoDataValue = nodv , Speciation = speciation ,
67- Definition = definition )
66+ v = models .Variables (VariableCode = code , VariableNameCV = name , VariableTypeCV = vType , NoDataValue = nodv , SpeciationCV = speciation ,
67+ VariableDefinition = definition )
6868 # self.writer.createVariable(code = code,name = name,vType = vType,nodv =nodv,speciation=None,definition=None)
6969 self .writer .createVariable (v )
7070 # assert that this dataset has been successfully inserted
@@ -164,7 +164,7 @@ def test_createDataset(self):
164164 # dstitle=title,
165165 # dsabstract=desc)
166166 #TODO uuid
167- d = models .Datasets (DataSetTypeCV = type , DataSetCode = code , DataSetTitle = title , DataSetAbstract = desc )
167+ d = models .DataSets (DataSetTypeCV = type , DataSetCode = code , DataSetTitle = title , DataSetAbstract = desc )
168168 dataset = self .writer .createDataset (d )
169169
170170
@@ -309,9 +309,9 @@ def test_createSimulation(self):
309309 SimulationName = "MySimulation" ,
310310 SimulationDescription = "My simulation description" ,
311311 SimulationsStartDateTime = st ,
312- SimulationStartOffset = 6 ,
312+ SimulationStartDateTimeUTCOffset = 6 ,
313313 SimulationEdnDateTime = et ,
314- SimulationEndOffset = 6 ,
314+ SimulationEndDateTimeUTCOffset = 6 ,
315315 TimeStepValue = 1 ,
316316 TimeStepuUnitsID = 1 ,
317317 InputDataSetID = None
0 commit comments