You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by br...@apache.org on 2012/12/19 19:42:03 UTC

git commit: [#4790] fix test (due to changes to default ticket columns)

Updated Branches:
  refs/heads/master 848cb7a2a -> 1e4dc4f34


[#4790] fix test (due to changes to default ticket columns)


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

Branch: refs/heads/master
Commit: 1e4dc4f3402018ee8410671c92992ab3dbda1c10
Parents: 848cb7a
Author: Dave Brondsema <db...@geek.net>
Authored: Wed Dec 19 18:41:56 2012 +0000
Committer: Dave Brondsema <db...@geek.net>
Committed: Wed Dec 19 18:41:56 2012 +0000

----------------------------------------------------------------------
 .../forgetracker/tests/functional/test_root.py     |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/1e4dc4f3/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 e790b89..e254e8b 100644
--- a/ForgeTracker/forgetracker/tests/functional/test_root.py
+++ b/ForgeTracker/forgetracker/tests/functional/test_root.py
@@ -1281,8 +1281,8 @@ class TestCustomUserField(TrackerTestController):
         kw = {'custom_fields._code_review': 'test-admin'}
         self.new_ticket(summary='test custom fields', **kw)
         r = self.app.get('/bugs/')
-        assert r.html.find('table', 'ticket-list').findAll('th')[8].text == 'Code Review'
-        assert r.html.find('table', 'ticket-list').tbody.tr.findAll('td')[8].text == 'Test Admin'
+        assert r.html.find('table', 'ticket-list').findAll('th')[7].text == 'Code Review'
+        assert r.html.find('table', 'ticket-list').tbody.tr.findAll('td')[7].text == 'Test Admin'
 
 class TestHelpTextOptions(TrackerTestController):
     def _set_options(self, new_txt='', search_txt=''):