Skip to content
Snippets Groups Projects
Commit d236c1cd authored by Stefano Di Frischia's avatar Stefano Di Frischia
Browse files

L2SS-1030: add integration test

parent ab049682
No related branches found
No related tags found
Loading
......@@ -22,3 +22,8 @@ class TestDeviceConfiguration(AbstractTestBases.TestDeviceBase):
dbdata = json.loads(tangodb_properties)
self.assertTrue(type(dbdata), dict)
self.assertGreater(len(dbdata['servers']), 0)
# Verify if Configuration Device exists
self.assertTrue('configuration' in dbdata['servers']) # server-name
self.assertTrue('stat' in dbdata['servers']['configuration']) # server-instance
self.assertTrue('configuration' in dbdata['servers']['configuration']['stat']) # server-class
self.assertTrue('stat/configuration/1' in dbdata['servers']['configuration']['stat']['configuration']) # device
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment