class SchemaReaderTest(unittest.TestCase): def setUp(self): self.schemaReader = SchemaReader('/media/WorkProject/work/generateData/schema.json'); def tearDown(self): pass def testSchemaRead(self): self.schema = self.schemaReader.read() self.assertIsNotNone(self.schema, "Schema not read successfully ") pprint(self.schema)
def setUp(self): schemaReader = SchemaReader('/media/WorkProject/work/generateData/schema.json'); self.schema = schemaReader.read() pass