incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tvansteenbu...@apache.org
Subject [04/50] git commit: [#3154] fix blog export test
Date Wed, 28 Aug 2013 14:34:45 GMT
[#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/818b3956
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/818b3956
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/818b3956

Branch: refs/heads/tv/6526
Commit: 818b395614726235bcfcc0e7658e40e45e2bb391
Parents: 9d6fda8
Author: Dave Brondsema <dbrondsema@slashdotmedia.com>
Authored: Thu Aug 1 19:31:42 2013 +0000
Committer: Dave Brondsema <dbrondsema@slashdotmedia.com>
Committed: Thu Aug 22 20:04:44 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/818b3956/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)


Mime
View raw message