Esempio n. 1
0
 def addfile(url, fname):
     with open(fname) as f:
         for line in f:
             CommentView._post_comment(url,
                                       line,
                                       author_ip="1.2.3.4",
                                       user=None)
Esempio n. 2
0
 def addfile(url, fname):
     with open(fname) as f:
         for line in f:
             CommentView._post_comment(url, line, author_ip="1.2.3.4", user=None)
Esempio n. 3
0
 def add(url='http://www.default-test.com/',
         comment='default-test-comment'):
     CommentView._post_comment(url, comment, author_ip="1.2.3.4", user=None)
Esempio n. 4
0
 def add(url='http://www.default-test.com/', comment='default-test-comment'):
     CommentView._post_comment(url, comment, author_ip="1.2.3.4", user=None)