|
@@ -23,7 +23,7 @@ def _input(value):
|
|
|
else:
|
|
|
value = json.dumps(value)
|
|
|
urllib2.urlopen(urllib2.Request(address, urllib.urlencode({"op": "set_input", "value": value, "taskname": taskname}))).read()
|
|
|
- print("Set input: " + str(value))
|
|
|
+ #print("Set input: " + str(value))
|
|
|
|
|
|
def _input_raw(value, taskname):
|
|
|
# Ugly json encoding of primitives
|
|
@@ -66,7 +66,7 @@ def _output(expected=None):
|
|
|
try:
|
|
|
global last_output
|
|
|
last_output = json.loads(urllib2.urlopen(urllib2.Request(address, urllib.urlencode({"op": "get_output", "taskname": taskname}))).read())
|
|
|
- print("Got output: " + str(last_output))
|
|
|
+ #print("Got output: " + str(last_output))
|
|
|
except:
|
|
|
raise UnknownError()
|
|
|
if expected is not None and last_output != expected:
|
|
@@ -657,7 +657,7 @@ def attr_assign(ID, attr, value):
|
|
|
_input("attr_add")
|
|
|
if _output() == "Which element do you want to assign an attribute to?":
|
|
|
_input(ID)
|
|
|
- if _output() == "Which attribute do you want to assign?":
|
|
|
+ if _output() == "Which attribute do you wish to assign?":
|
|
|
_input(attr)
|
|
|
if _output() == "Value of attribute?":
|
|
|
_input(value)
|