incubator-allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tvansteenbu...@apache.org
Subject git commit: [#4703] Update tests to match new related artifact text
Date Thu, 20 Feb 2014 20:56:39 GMT
Repository: incubator-allura
Updated Branches:
  refs/heads/master eba8041f3 -> 7536bf068


[#4703] Update tests to match new related artifact text

Signed-off-by: Tim Van Steenburgh <tvansteenburgh@gmail.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/7536bf06
Tree: http://git-wip-us.apache.org/repos/asf/incubator-allura/tree/7536bf06
Diff: http://git-wip-us.apache.org/repos/asf/incubator-allura/diff/7536bf06

Branch: refs/heads/master
Commit: 7536bf0682b190678fe51da935349edba329099d
Parents: eba8041
Author: Tim Van Steenburgh <tvansteenburgh@gmail.com>
Authored: Thu Feb 20 20:56:21 2014 +0000
Committer: Tim Van Steenburgh <tvansteenburgh@gmail.com>
Committed: Thu Feb 20 20:56:21 2014 +0000

----------------------------------------------------------------------
 ForgeBlog/forgeblog/tests/functional/test_root.py       | 2 +-
 ForgeTracker/forgetracker/tests/functional/test_root.py | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/7536bf06/ForgeBlog/forgeblog/tests/functional/test_root.py
----------------------------------------------------------------------
diff --git a/ForgeBlog/forgeblog/tests/functional/test_root.py b/ForgeBlog/forgeblog/tests/functional/test_root.py
index d3eb932..cfe43c6 100644
--- a/ForgeBlog/forgeblog/tests/functional/test_root.py
+++ b/ForgeBlog/forgeblog/tests/functional/test_root.py
@@ -213,7 +213,7 @@ class Test(TestController):
         ThreadLocalORMSession.flush_all()
         r = self.app.get('/blog/%s/one/' % d)
         assert 'Related' in r
-        assert 'Blog Post: %s/two' % d in r
+        assert 'Blog: %s/two' % d in r
 
     def test_invalid_lookup(self):
         r = self.app.get('/blog/favicon.ico', status=404)

http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/7536bf06/ForgeTracker/forgetracker/tests/functional/test_root.py
----------------------------------------------------------------------
diff --git a/ForgeTracker/forgetracker/tests/functional/test_root.py b/ForgeTracker/forgetracker/tests/functional/test_root.py
index 41d691a..b79a8e3 100644
--- a/ForgeTracker/forgetracker/tests/functional/test_root.py
+++ b/ForgeTracker/forgetracker/tests/functional/test_root.py
@@ -863,7 +863,7 @@ class TestFunctionalController(TrackerTestController):
         response = self.app.get('/p/test/bugs/1/')
         assert 'Related' in response
         assert 'Wiki: aaa' in response
-        assert 'Ticket: #2' in response
+        assert 'Tickets: #2' in response
 
         b = tm.Ticket.query.find(dict(ticket_num=2)).first()
         b.deleted = True


Mime
View raw message