changeset 79:2c7786d7d14e

Fix broken test
author Benoît Allard <benoit.allard@greenbone.net>
date Thu, 09 Oct 2014 12:16:16 +0200
parents 264d4579f6bf
children c00f20bd90ba
files tests/testBranches.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tests/testBranches.py	Thu Oct 09 12:15:52 2014 +0200
+++ b/tests/testBranches.py	Thu Oct 09 12:16:16 2014 +0200
@@ -31,7 +31,7 @@
         self.assertEqual(rv.status_code, 200)
         rv = self.app.post('/producttree/create')
         rv = self.app.get('/producttree/branch/add')
-        rv = self.app.post('/producttree/branch/add', data=dict(type="Vendor", name="SecPod"))
+        rv = self.app.post('/producttree/branch/add', data=dict(type="Vendor", name="SecPod", parent=""))
 
     def testAddTwoBranch(self):
         rv = self.createDoc('Title', 'Type')

http://farol.wald.intevation.org