Example #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)
Example #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)
Example #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)
Example #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)