Skip to content

Commit

Permalink
even more debug
Browse files Browse the repository at this point in the history
  • Loading branch information
IanBoden committed Jun 19, 2024
1 parent fc28cbe commit decb602
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions test/test_api_state_thingState.py
Original file line number Diff line number Diff line change
Expand Up @@ -507,10 +507,18 @@ def testDeletePreReqs(self):
for li in self.appClient.state.draft.logicalInterfaces.find({"name": TestThing.testThingLISchema}):
print("WHAT: %s" % (li))
print("ID: %s" % (TestThing.createdThingLI.id))
print(self.appClient.state.draft.logicalInterfaces[TestThing.createdThingLI.id])
del self.appClient.state.draft.logicalInterfaces[TestThing.createdThingLI.id]
for li in self.appClient.state.draft.logicalInterfaces.find({"name": TestThing.testThingLISchema}):
print("NOW: %s" % (li))
print(self.appClient.state.draft.logicalInterfaces[TestThing.createdThingLI.id])
assert self.doesLINameExist(TestThing.testThingLISchema) == False

# Delete the schema
for sc in self.appClient.state.draft.schemas.find({"name": TestThing.testLISchemaName}):
print("WHAT SCHEMA: %s" % (li))
print("ID: %s" % (TestThing.createdLISchema.id))
print(self.appClient.state.draft.schemas[TestThing.createdLISchema.id])
del self.appClient.state.draft.schemas[TestThing.createdLISchema.id]
assert self.doesSchemaNameExist(TestThing.testLiSchemaName) == False

Expand Down

0 comments on commit decb602

Please sign in to comment.