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 2016/08/08 21:47:59 UTC
[6/6] allura git commit: Update tests to match new neighborhood
listing css classes
Update tests to match new neighborhood listing css classes
Project: http://git-wip-us.apache.org/repos/asf/allura/repo
Commit: http://git-wip-us.apache.org/repos/asf/allura/commit/ba25e7ed
Tree: http://git-wip-us.apache.org/repos/asf/allura/tree/ba25e7ed
Diff: http://git-wip-us.apache.org/repos/asf/allura/diff/ba25e7ed
Branch: refs/heads/master
Commit: ba25e7ed7857699ab7d3cda8d3803bc7de71cec7
Parents: 898340f
Author: Rohan Verma <ro...@gmail.com>
Authored: Tue Jul 26 13:55:20 2016 +0530
Committer: Dave Brondsema <da...@brondsema.net>
Committed: Mon Aug 8 17:41:38 2016 -0400
----------------------------------------------------------------------
Allura/allura/tests/functional/test_root.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/allura/blob/ba25e7ed/Allura/allura/tests/functional/test_root.py
----------------------------------------------------------------------
diff --git a/Allura/allura/tests/functional/test_root.py b/Allura/allura/tests/functional/test_root.py
index 5aae3e5..db9eae8 100644
--- a/Allura/allura/tests/functional/test_root.py
+++ b/Allura/allura/tests/functional/test_root.py
@@ -55,7 +55,7 @@ class TestRootController(TestController):
response = self.app.get('/')
assert_equal(response.html.find('h2', {'class': 'dark title'}).contents[
0].strip(), 'All Neighborhoods')
- nbhds = response.html.findAll('td', {'class': 'nbhd'})
+ nbhds = response.html.findAll('div', {'class': 'nbhd_name'})
assert nbhds[0].find('a').get('href') == '/adobe/'
cat_links = response.html.find('div', {'id': 'sidebar'}).findAll('li')
assert len(cat_links) == 4