@@ -41,7 +41,7 @@ class TestThing(testUtils.AbstractTest):
4141 testPhysicalInterfaceName = "python-api-test-dt-pi"
4242
4343 # Logical Interface Stuff
44- testLiSchemaName = "python-api-test-dt-li-schema"
44+ testLISchemaName = "python-api-test-dt-li-schema"
4545 testLISchema = {
4646 "$schema" : "http://json-schema.org/draft-04/schema#" ,
4747 "type" : "object" ,
@@ -133,7 +133,7 @@ def testCleanup(self):
133133 for s in self .appClient .state .draft .schemas :
134134 if s .name in (
135135 TestThing .testEventSchemaName ,
136- TestThing .testLiSchemaName ,
136+ TestThing .testLISchemaName ,
137137 TestThing .thingLISchemaName ,
138138 TestThing .thingSchemaName ,
139139 ):
@@ -234,7 +234,7 @@ def createAndCheckDT(
234234
235235 def testCreatePreReqs (self ):
236236 # LI
237- test_schema_name = TestThing .testLiSchemaName
237+ test_schema_name = TestThing .testLISchemaName
238238 assert self .doesSchemaNameExist (test_schema_name ) == False
239239 testLIName = TestThing .testLogicalInterfaceName
240240 assert self .doesLINameExist (testLIName ) == False
@@ -443,9 +443,9 @@ def testResetThingState(self):
443443 def testThingStateErrors (self ):
444444 # Check state for a non existent LI
445445 try :
446- dummyLiId = "DummyLI"
447- thingState = TestThing .createdThing .states [dummyLiId ]
448- print ("There should be no thing state for LI %s. We have: %s" % (dummyLiId , thingState ))
446+ dummyLIId = "DummyLI"
447+ thingState = TestThing .createdThing .states [dummyLIId ]
448+ print ("There should be no thing state for LI %s. We have: %s" % (dummyLIId , thingState ))
449449 assert False == True # fail
450450 except KeyError as e :
451451 assert True # This is what we expect
@@ -504,7 +504,7 @@ def testDeletePreReqs(self):
504504
505505 # Delete the schema
506506 del self .appClient .state .draft .schemas [TestThing .createdLISchema .id ]
507- assert self .doesSchemaNameExist (TestThing .testLiSchemaName ) == False
507+ assert self .doesSchemaNameExist (TestThing .testLISchemaName ) == False
508508
509509 del self .appClient .state .draft .schemas [TestThing .createdThingSchema .id ]
510510 assert self .doesSchemaNameExist (TestThing .thingSchemaName ) == False
0 commit comments