Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(6)  |  Call(6)  |  Derive(0)  |  Import(0)

src/j/o/JoshuaGoblin-HEAD/mediagoblin/tests/test_misc.py   JoshuaGoblin(Download)
 
    usr_cnt1 = User.query.count()
    med_cnt1 = MediaEntry.query.count()
    cmt_cnt1 = MediaComment.query.count()
 
    User.query.get(user_a.id).delete(commit=False)
 
    usr_cnt2 = User.query.count()
    med_cnt2 = MediaEntry.query.count()
 
    usr_cnt2 = User.query.count()
    med_cnt2 = MediaEntry.query.count()
    cmt_cnt2 = MediaComment.query.count()
 

src/m/e/mediagoblin-0.6.1/mediagoblin/tests/test_misc.py   mediagoblin(Download)
 
    usr_cnt1 = User.query.count()
    med_cnt1 = MediaEntry.query.count()
    cmt_cnt1 = MediaComment.query.count()
 
    User.query.get(user_a.id).delete(commit=False)
 
    usr_cnt2 = User.query.count()
    med_cnt2 = MediaEntry.query.count()
 
    usr_cnt2 = User.query.count()
    med_cnt2 = MediaEntry.query.count()
    cmt_cnt2 = MediaComment.query.count()