@@ -67,6 +67,7 @@ class TestThing(testUtils.AbstractTest):
67
67
testDeviceTypeName = "python-api-test-DeviceType"
68
68
updatedDeviceTypeName = "python-api-test-DeviceType-updated"
69
69
thingSchemaName = "thingSchema"
70
+ thingSchemaNameOld = "testThingSchema"
70
71
thingLISchemaName = "thingLISchema"
71
72
thingTypeId = "thingTypeId"
72
73
@@ -144,6 +145,7 @@ def testCleanup(self):
144
145
TestThing .testLISchemaName ,
145
146
TestThing .thingLISchemaName ,
146
147
TestThing .thingSchemaName ,
148
+ TestThing .thingSchemaNameOld ,
147
149
):
148
150
print ("Deleting old test schema instance: %s" % (s ))
149
151
del self .appClient .state .draft .schemas [s .id ]
@@ -194,6 +196,7 @@ def doesDTNameExist(self, name):
194
196
def createSchema (self , name , schemaFileName , schemaContents , description ):
195
197
jsonSchemaContents = json .dumps (schemaContents )
196
198
createdSchema = self .appClient .state .draft .schemas .create (name , schemaFileName , jsonSchemaContents , description )
199
+ print ("Created schema %s" % (createdSchema ))
197
200
return createdSchema
198
201
199
202
def createEventType (self , name , description , schemaId ):
0 commit comments