Commit c00b9bb6 authored by Michael Droettboom's avatar Michael Droettboom

Fix expected error message

parent a4154d96
...@@ -148,7 +148,7 @@ def test_pyproxy_destroy(selenium): ...@@ -148,7 +148,7 @@ def test_pyproxy_destroy(selenium):
"f.destroy();\n" "f.destroy();\n"
"f.get_value();\n") "f.get_value();\n")
except JavascriptException as e: except JavascriptException as e:
assert 'f.get_value is not a function' in str(e) assert 'Object has already been destroyed' in str(e)
else: else:
assert False, 'Expected exception' assert False, 'Expected exception'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment