Exemplo n.º 1
0
class Command(BaseCommand):
    help = 'HP Alm <-> SDE sync utility.'

    def configure(self):
        alm_api = HPAlmAPIBase(self.config)
        self.hp_alm = HPAlmConnector(self.config, alm_api)

    def handle(self):
        self.hp_alm.initialize()
        self.hp_alm.synchronize()
        return True
Exemplo n.º 2
0
 def configure(self):
     alm_api = HPAlmAPIBase(self.config)
     self.hp_alm = HPAlmConnector(self.config, alm_api)