def update_ignore_users(self): """Check app config table to get list of ignored twitter ids""" ignore_list = db_utils.get_ignored_users() ignore_list.append(self.tw_bot_id) self.ignored_users = ignore_list
def test_get_ignored_users_returns_correct_list(self): ignore_list = db_utils.get_ignored_users() self.assertEqual(ignore_list, [ 12345, ])