You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by jo...@apache.org on 2013/06/03 17:31:55 UTC

[02/31] git commit: [#6308] Fixed sporadically failing test due to non-mocked SMTP

[#6308] Fixed sporadically failing test due to non-mocked SMTP

Signed-off-by: Cory Johns <cj...@slashdotmedia.com>


Project: http://git-wip-us.apache.org/repos/asf/incubator-allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-allura/commit/9bd1343c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/9bd1343c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/9bd1343c

Branch: refs/heads/cj/merge-request-4
Commit: 9bd1343cc7e435ca8a903ecb87519f08768e5aa7
Parents: a6abdb0
Author: Cory Johns <cj...@slashdotmedia.com>
Authored: Thu May 30 20:22:13 2013 +0000
Committer: Cory Johns <cj...@slashdotmedia.com>
Committed: Thu May 30 20:22:13 2013 +0000

----------------------------------------------------------------------
 ForgeUserStats/forgeuserstats/tests/test_stats.py |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/9bd1343c/ForgeUserStats/forgeuserstats/tests/test_stats.py
----------------------------------------------------------------------
diff --git a/ForgeUserStats/forgeuserstats/tests/test_stats.py b/ForgeUserStats/forgeuserstats/tests/test_stats.py
index fad927c..90a467e 100644
--- a/ForgeUserStats/forgeuserstats/tests/test_stats.py
+++ b/ForgeUserStats/forgeuserstats/tests/test_stats.py
@@ -169,9 +169,10 @@ class TestStats(TestController):
         assert tickets_artifacts['created'] == initial_tickets_artifacts['created'] + 2
         assert tickets_artifacts['modified'] == initial_tickets_artifacts['modified'] + 3
 
-class TestGitCommit(unittest.TestCase, TestController):
+class TestGitCommit(TestController, unittest.TestCase):
 
     def setUp(self):
+        super(TestGitCommit, self).setUp()
         setup_basic_test()
 
         user = User.by_username('test-admin')