Example #1
0
    def setUp(self):
        CeleryAppTestCase.setUp(self)
        self.app.app.registry.db_slave = self.db_master

        self.url = '/v1/geosubmit'
        self.metric = 'geosubmit'
        self.metric_url = 'request.v1.geosubmit'
Example #2
0
    def setUp(self):
        CeleryAppTestCase.setUp(self)
        self.app.app.registry.db_slave = self.db_master

        self.url = '/v1/geosubmit'
        self.metric = 'geosubmit'
        self.metric_url = 'request.v1.geosubmit'
Example #3
0
 def setUp(self):
     CeleryAppTestCase.setUp(self)
     session = self.db_slave_session
     session.add(ApiKey(valid_key='test'))
     session.commit()
Example #4
0
 def setUp(self):
     CeleryAppTestCase.setUp(self)
     session = self.db_slave_session
     session.add(ApiKey(valid_key='test'))
     session.commit()
Example #5
0
 def setUp(self):
     CeleryAppTestCase.setUp(self)
     self.app.app.registry.db_slave = self.db_master
Example #6
0
 def setUp(self):
     CeleryAppTestCase.setUp(self)
     self.app.app.registry.db_slave = self.db_master
Example #7
0
 def setUp(self):
     CeleryAppTestCase.setUp(self)
     self.heka_client = get_client('ichnaea')
     self.heka_client.stream.msgs.clear()