Commits

Ronny Pfannschmidt  committed 4a1c54a

fix a failing test

  • Participants
  • Parent commits 2b857a5

Comments (0)

Files changed (1)

File tests/test_server.py

     result = XResult(xjobid, "out", "err", 0)
     rv = app.post("/xjobfinished", data=json_encode(result))
     assert rv.data == "Thanks."
-    r = app.get("/getresult", data=json_encode({'xjobid': xjobid}))
+    r = app.get("/getresult/%s" % xjobid)
     result2 = XResult.from_json(json.loads(r.data)['result'])
     assert result2.out == result.out
     assert result2.err == result.err