예제 #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)
예제 #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)
예제 #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)
예제 #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)