def test_activity_values():
     args1 = {'actor_id': 4}
     args2 = {'client_addr': '123.123.123.123'}
     create_article()
     with activity_values(**args1):
         create_article()
         with activity_values(**args2):
             create_article()
         create_article()
     create_article()
     return ''
 def test_activity_values():
     args = {'actor_id': 4, 'client_addr': '123.123.123.123'}
     with activity_values(**args):
         article = article_class()
         article.name = u'Some article'
         db.session.add(article)
         db.session.commit()
     return ''
 def test_activity_values():
     args = {
         'actor_id': 4,
         'client_addr': '123.123.123.123'
     }
     with activity_values(**args):
         article = article_class()
         article.name = u'Some article'
         db.session.add(article)
         db.session.commit()
     return ''