def clear_db(): """ Delete all users and promos """ db = dataset.connect(database_url) db['subscriptions'].drop() db['promo'].drop()