Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(2683)

Issue 6441151: Unit tests for Blog itemtype. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 3 months ago by spy
Modified:
11 years, 3 months ago
Reviewers:
thomas.j.waldmann, Reimar Bauer
Visibility:
Public.

Description

Unit tests for Blog itemtype.

Patch Set 1 #

Total comments: 2

Patch Set 2 : Add BlogEntry tests, some fixes #

Total comments: 6

Patch Set 3 : add a helper function to publish entries #

Total comments: 4

Patch Set 4 : Add filter by tag unittest #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+46 lines, -28 lines) Patch
M MoinMoin/items/_tests/test_Blog.py View 1 2 3 5 chunks +46 lines, -28 lines 1 comment Download

Messages

Total messages: 8
Reimar Bauer
some comments http://codereview.appspot.com/6441151/diff/1/MoinMoin/items/_tests/test_Blog.py File MoinMoin/items/_tests/test_Blog.py (right): http://codereview.appspot.com/6441151/diff/1/MoinMoin/items/_tests/test_Blog.py#newcode33 MoinMoin/items/_tests/test_Blog.py:33: name = u'NewBlogItem' you could split that ...
12 years, 3 months ago (2012-08-17 07:34:39 UTC) #1
Reimar Bauer
Better I have currently a tablet only. Check in General also that the Test are ...
12 years, 3 months ago (2012-08-17 15:46:06 UTC) #2
ThomasJWaldmann
http://codereview.appspot.com/6441151/diff/9002/MoinMoin/items/_tests/test_Blog.py File MoinMoin/items/_tests/test_Blog.py (right): http://codereview.appspot.com/6441151/diff/9002/MoinMoin/items/_tests/test_Blog.py#newcode30 MoinMoin/items/_tests/test_Blog.py:30: class TestBlog(TestView): please have 2 empty lines between toplevel ...
12 years, 3 months ago (2012-08-17 18:01:12 UTC) #3
spy
http://codereview.appspot.com/6441151/diff/9002/MoinMoin/items/_tests/test_Blog.py File MoinMoin/items/_tests/test_Blog.py (right): http://codereview.appspot.com/6441151/diff/9002/MoinMoin/items/_tests/test_Blog.py#newcode30 MoinMoin/items/_tests/test_Blog.py:30: class TestBlog(TestView): On 2012/08/17 18:01:12, ThomasJWaldmann wrote: > please ...
12 years, 3 months ago (2012-08-17 19:18:50 UTC) #4
Reimar Bauer
a little bit more try also to use common parameter names that makes reading tests ...
12 years, 3 months ago (2012-08-17 20:49:29 UTC) #5
Reimar Bauer
http://codereview.appspot.com/6441151/diff/1005/MoinMoin/items/_tests/test_Blog.py File MoinMoin/items/_tests/test_Blog.py (right): http://codereview.appspot.com/6441151/diff/1005/MoinMoin/items/_tests/test_Blog.py#newcode109 MoinMoin/items/_tests/test_Blog.py:109: ordered_data = [self.data, here you set the order manually. ...
12 years, 3 months ago (2012-08-17 22:32:15 UTC) #6
spy
some replies http://codereview.appspot.com/6441151/diff/1005/MoinMoin/items/_tests/test_Blog.py File MoinMoin/items/_tests/test_Blog.py (right): http://codereview.appspot.com/6441151/diff/1005/MoinMoin/items/_tests/test_Blog.py#newcode109 MoinMoin/items/_tests/test_Blog.py:109: ordered_data = [self.data, On 2012/08/17 22:32:15, Reimar ...
12 years, 3 months ago (2012-08-17 23:17:00 UTC) #7
ThomasJWaldmann
12 years, 3 months ago (2012-08-18 16:34:16 UTC) #8
http://codereview.appspot.com/6441151/diff/8002/MoinMoin/items/_tests/test_Bl...
File MoinMoin/items/_tests/test_Blog.py (right):

http://codereview.appspot.com/6441151/diff/8002/MoinMoin/items/_tests/test_Bl...
MoinMoin/items/_tests/test_Blog.py:48: if acl:
if acl is not None:
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b