def setUp(self):
    super(HttpApiRegressionTestMixinBase, self).setUp()
    self.connector = self.GetConnector(self.__class__.api_version)
    if ((not getattr(self, 'aff4_only_test', False)) and self.__class__.read_from_relational_db):
        self.db_config_overrider = test_lib.ConfigOverrider({'Database.useForReads': True})
        self.db_config_overrider.Start()
    else:
        self.db_config_overrider = None
def setUp(self):
    super(HttpApiRegressionTestMixinBase, self).setUp()
    self.connector = self.GetConnector(self.__class__.api_version)
    if ((not getattr(self, 'aff4_only_test', False)) and self.__class__.read_from_relational_db):
        self.db_config_overrider = test_lib.ConfigOverrider({'Database.useForReads': True})
        self.db_config_overrider.Start()
    else:
        self.db_config_overrider = None