summaryrefslogtreecommitdiff
path: root/source4/scripting
diff options
context:
space:
mode:
Diffstat (limited to 'source4/scripting')
-rw-r--r--source4/scripting/swig/torture/spoolss.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/source4/scripting/swig/torture/spoolss.py b/source4/scripting/swig/torture/spoolss.py
index c1859bf2d4..78c74569f5 100644
--- a/source4/scripting/swig/torture/spoolss.py
+++ b/source4/scripting/swig/torture/spoolss.py
@@ -163,7 +163,10 @@ def test_AddForm(pipe, handle):
(r['info']['info1'], f)
sys.exit(1)
- # TODO: test spoolss_SetForm()
+ r['formname'] = formname
+ r['info']['info1']['unknown'] = 1
+
+ dcerpc.spoolss_SetForm(pipe, r)
test_DeleteForm(pipe, handle, formname)