Python Unittest Assert String Contains Javascript Mdn