You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2013/08/21 17:27:18 UTC
[36/50] git commit: [#3154] fix blog export test
[#3154] fix blog export test
Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/8c96f3af
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/8c96f3af
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/8c96f3af
Branch: refs/heads/db/3154b
Commit: 8c96f3affde7cd81f8bb97fe650d4eb7a12ed8e3
Parents: bda31de
Author: Dave Brondsema <db...@slashdotmedia.com>
Authored: Thu Aug 1 19:31:42 2013 +0000
Committer: Dave Brondsema <db...@slashdotmedia.com>
Committed: Wed Aug 21 15:25:58 2013 +0000
----------------------------------------------------------------------
ForgeBlog/forgeblog/tests/test_app.py | 2 ++
1 file changed, 2 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/8c96f3af/ForgeBlog/forgeblog/tests/test_app.py
----------------------------------------------------------------------
diff --git a/ForgeBlog/forgeblog/tests/test_app.py b/ForgeBlog/forgeblog/tests/test_app.py
index 7929dab..622dccf 100644
--- a/ForgeBlog/forgeblog/tests/test_app.py
+++ b/ForgeBlog/forgeblog/tests/test_app.py
@@ -44,11 +44,13 @@ class TestBulkExport(object):
post.text = 'test post'
post.labels = ['the firstlabel', 'the second label']
post.make_slug()
+ post.commit()
post.discussion_thread.add_post(text='test comment')
post2 = BM.BlogPost()
post2.title = 'Test2 title'
post2.text = 'test2 post'
post2.make_slug()
+ post2.commit()
f = tempfile.TemporaryFile()
blog.bulk_export(f)