incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From john...@apache.org
Subject [01/40] git commit: Added test for forks listing
Date Mon, 01 Apr 2013 14:27:20 GMT
Updated Branches:
  refs/heads/cj/5963 9dc959330 -> 07861f4a4 (forced update)


Added test for forks listing


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

Branch: refs/heads/cj/5963
Commit: db0dd9ce1f14adf970799d16c29cbf367b1be4f3
Parents: a09148c
Author: Wayne Witzel III <wwitzel@geek.net>
Authored: Wed Mar 20 21:36:38 2013 +0000
Committer: Dave Brondsema <dbrondsema@geek.net>
Committed: Tue Mar 26 18:15:12 2013 +0000

----------------------------------------------------------------------
 .../forgegit/tests/functional/test_controllers.py  |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/db0dd9ce/ForgeGit/forgegit/tests/functional/test_controllers.py
----------------------------------------------------------------------
diff --git a/ForgeGit/forgegit/tests/functional/test_controllers.py b/ForgeGit/forgegit/tests/functional/test_controllers.py
index e77f210..84b0133 100644
--- a/ForgeGit/forgegit/tests/functional/test_controllers.py
+++ b/ForgeGit/forgegit/tests/functional/test_controllers.py
@@ -351,6 +351,10 @@ class TestFork(_TestCase):
         assert mr_num.isdigit(), mr_num
         return r, mr_num
 
+    def test_forks_list(self):
+        r = self.app.get('%sforks/' % c.app.repo.url())
+        assert 'test2 / code' in r
+
     def test_fork_form(self):
         r = self.app.get('%sfork/' % c.app.repo.url())
         assert '<input type="text" name="mount_point" value="test"/>' in r


Mime
View raw message