def test_db_drop_table(bot): rss._db_create_table(bot, "feedname") rss._db_drop_table(bot, "feedname") result = rss._db_check_if_table_exists(bot, "feedname") assert [] == result
def test_db_drop_table(bot): rss._db_create_table(bot, 'feedname') rss._db_drop_table(bot, 'feedname') result = rss._db_check_if_table_exists(bot, 'feedname') assert [] == result
def test_db_create_table_and_db_check_if_table_exists(bot): rss._db_create_table(bot, "feedname") result = rss._db_check_if_table_exists(bot, "feedname") assert [(rss._digest_tablename("feedname"),)] == result
def test_db_create_table_and_db_check_if_table_exists(bot): rss._db_create_table(bot, 'feedname') result = rss._db_check_if_table_exists(bot, 'feedname') assert [(rss._digest_tablename('feedname'), )] == result