'Test that XSS attack is prevented'

@ddt.data('<script>alert(1)</script>', "alert('hi')", '</script><script>alert(1)</script>')
def test_container_handler_xss_prevent(self, malicious_code):

    resp = self.client.get_html(((get_url('container_handler', self.vert_loc) + '?action=') + malicious_code))
    self.assertEqual(resp.status_code, 200)
    self.assertNotIn(malicious_code, resp.content)
