You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by je...@apache.org on 2016/01/08 11:43:18 UTC

[8/9] allura git commit: [#8024] ticket:884 fix test

[#8024] ticket:884 fix test


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

Branch: refs/heads/ib/8024a
Commit: 4dbf67f54b0005a16ab98d7fff93bce018e2e842
Parents: f0603f5
Author: Denis Kotov <de...@gmail.com>
Authored: Thu Jan 7 22:05:59 2016 +0200
Committer: Denis Kotov <de...@gmail.com>
Committed: Thu Jan 7 22:05:59 2016 +0200

----------------------------------------------------------------------
 Allura/allura/tests/functional/test_site_admin.py | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/allura/blob/4dbf67f5/Allura/allura/tests/functional/test_site_admin.py
----------------------------------------------------------------------
diff --git a/Allura/allura/tests/functional/test_site_admin.py b/Allura/allura/tests/functional/test_site_admin.py
index 41aa8d3..b55dcbc 100644
--- a/Allura/allura/tests/functional/test_site_admin.py
+++ b/Allura/allura/tests/functional/test_site_admin.py
@@ -258,8 +258,7 @@ class TestSiteAdmin(TestController):
         r = self.app.get('/nf/admin/site_notifications/{}/edit'.format(note._id))
 
         assert r
-
-        assert (u'selected', u'selected') in r.html.find('form').findAll('option')[1].attrs
+        assert 'checked' in r.form['active'].attrs
         assert r.form['impressions'].value == '0'
         assert r.form['content'].value == 'test1'
         assert r.form['user_role'].value == 'test2'