home · contact · privacy
Simplify JSON-ification of VersionedAttributes.
[plomtask] / tests / processes.py
index 34f6427e4d06152a17f035672061757cce203cac..4d2252c4b748718ee5f61844521322a15ff03669 100644 (file)
@@ -279,7 +279,8 @@ class TestsWithServer(TestCaseWithServer):
         form_data = {'title': 'foo', 'description': 'foo', 'effort': 1.0}
         self.post_process(2, form_data | {'condition': []})
         self.check_post(form_data | {'condition': [1]}, '/process?id=', 404)
-        self.check_post({'title': 'foo', 'description': 'foo'},
+        self.check_post({'title': 'foo', 'description': 'foo',
+                         'is_active': False},
                         '/condition', 302, '/condition?id=1')
         self.post_process(3, form_data | {'condition': [1]})
         self.post_process(4, form_data | {'disables': [1]})