allura-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From john...@apache.org
Subject [06/50] git commit: [#6848] ticket:483 Fix test failing due to a new trove categories
Date Mon, 06 Jan 2014 15:17:56 GMT
[#6848] ticket:483 Fix test failing due to a new trove categories


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

Branch: refs/heads/cj/6992
Commit: 73379476372a45cf8d80b65139e58c584cb59b01
Parents: 350faaa
Author: Igor Bondarenko <jetmind2@gmail.com>
Authored: Fri Dec 27 15:15:19 2013 +0200
Committer: Tim Van Steenburgh <tvansteenburgh@gmail.com>
Committed: Thu Jan 2 14:52:06 2014 +0000

----------------------------------------------------------------------
 Allura/allura/tests/functional/test_admin.py | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/73379476/Allura/allura/tests/functional/test_admin.py
----------------------------------------------------------------------
diff --git a/Allura/allura/tests/functional/test_admin.py b/Allura/allura/tests/functional/test_admin.py
index bf09009..5919bb9 100644
--- a/Allura/allura/tests/functional/test_admin.py
+++ b/Allura/allura/tests/functional/test_admin.py
@@ -520,17 +520,17 @@ class TestProjectAdmin(TestController):
         # add a cat
         with audits('add trove root_database: Database Environment :: Database API'):
             form = r.forms['add_trove_root_database']
-            form['new_trove'].value = '499'
+            form['new_trove'].value = '506'
             r = form.submit().follow()
         # make sure it worked
         assert 'No Database Environment categories have been selected.' not in r
-        assert '<span class="trove_fullpath">Database Environment :: Database API</span>'
in r
+        assert '<span class="trove_fullpath">Database Environment :: Database API ::
Python Database API</span>' in r
         # delete the cat
         with audits('remove trove root_database: Database Environment :: Database API'):
-            r = r.forms['delete_trove_root_database_499'].submit().follow()
+            r = r.forms['delete_trove_root_database_506'].submit().follow()
         # make sure it worked
         assert 'No Database Environment categories have been selected.' in r
-        assert '<span class="trove_fullpath">Database Environment :: Database API</span>'
not in r
+        assert '<span class="trove_fullpath">Database Environment :: Database API ::
Python Database API</span>' not in r
 
     def test_add_remove_label(self):
         r = self.app.get('/admin/trove')


Mime
View raw message