diff tests/testBranches.py @ 79:2c7786d7d14e

Fix broken test
author Benoît Allard <benoit.allard@greenbone.net>
date Thu, 09 Oct 2014 12:16:16 +0200
parents 4a9f23230eba
children c00f20bd90ba
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