Thanks to py.test --boxed for helping discover that ;)
def test_user_deletes_other_comments():
+ get_app() # gotta init the db and etc
user_a = fixture_add_user(u"chris_a")
user_b = fixture_add_user(u"chris_b")
def test_media_deletes_broken_attachment():
+ get_app() # gotta init the db and etc
user_a = fixture_add_user(u"chris_a")
media = fixture_media_entry(uploader=user_a.id, save=False)
def test_media_data_init():
+ get_app() # gotta init the db and etc
Session.rollback()
Session.remove()
media = MediaEntry()