Пример #1
0
 def __init__(self):
     Database.__init__(self, 'db')
     
     self.schemaCore = Schema(self, 'core')
     self.schemaGeology = Schema(self, 'geology')
     self.schemaAudit = Schema(self, 'audit')
     self.schemaLogic = Schema(self, 'logic')
     
     self.createCore()
     self.createGeology()
     self.setupTests()
Пример #2
0
 def __init__(self):
     Database.__init__(self, 'db')
     
     self.schemaClient = self.createSchema('client')
     self.schemaCore = self.createSchema('core')
     self.schemaGeology = self.createSchema('geology')
     self.schemaAudit = self.createSchema('audit')
     self.schemaLogic = self.createSchema('logic')
     
     self.createClient()
     self.createCore()
     self.createGeology()
     self.setupTests()