Return-Path: X-Original-To: apmail-incubator-allura-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-allura-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D197A10C61 for ; Wed, 28 Aug 2013 14:34:46 +0000 (UTC) Received: (qmail 33730 invoked by uid 500); 28 Aug 2013 14:34:46 -0000 Delivered-To: apmail-incubator-allura-commits-archive@incubator.apache.org Received: (qmail 33654 invoked by uid 500); 28 Aug 2013 14:34:46 -0000 Mailing-List: contact allura-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: allura-dev@incubator.apache.org Delivered-To: mailing list allura-commits@incubator.apache.org Received: (qmail 33224 invoked by uid 99); 28 Aug 2013 14:34:42 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 28 Aug 2013 14:34:42 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 51DE846FF3; Wed, 28 Aug 2013 14:34:42 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: tvansteenburgh@apache.org To: allura-commits@incubator.apache.org Date: Wed, 28 Aug 2013 14:34:45 -0000 Message-Id: <0cbae708096f4e9485d6723b2a58c5d4@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [04/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/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 Authored: Thu Aug 1 19:31:42 2013 +0000 Committer: Dave Brondsema 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)