Fix expected error message

This commit is contained in:
Michael Droettboom 2018-06-25 09:09:16 -04:00
parent a4154d9669
commit c00b9bb6b8
1 changed files with 1 additions and 1 deletions

View File

@ -148,7 +148,7 @@ def test_pyproxy_destroy(selenium):
"f.destroy();\n"
"f.get_value();\n")
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:
assert False, 'Expected exception'