Permalink
Browse files

Fix simple testing scripts for the new session id handling.

  • Loading branch information...
1 parent faae785 commit 661ee81b073c05c1c87228237395183332d064a1 Jason Grout committed Apr 26, 2012
Showing with 3 additions and 1 deletion.
  1. +3 −1 timing/test_scripts/sagecell.py
View
4 timing/test_scripts/sagecell.py
@@ -42,7 +42,9 @@ def send_execution_request(self, request):
result=urlopen(request).read()
if result:
try:
- return loads(result)
+ jsonresult=loads(result)
+ self.session = jsonresult["session_id"]
+ return jsonresult
except ValueError:
return result
else:

0 comments on commit 661ee81

Please sign in to comment.