def tearDown(self):
    super(TestServiceStatistics, self).tearDown()
    for patcher in self.patchers:
        patcher.stop()
    reload(statistics)
    reload(rest_api)
    reload(appscale_taskqueue)
def tearDown(self):
    super(TestServiceStatistics, self).tearDown()
    for patcher in self.patchers:
        patcher.stop()
    reload(statistics)
    reload(rest_api)
    reload(appscale_taskqueue)