def test_fuzzing(self, value): assert isinstance(quiz.escape(value), str)
def test_escape_needed(self, value, expect): assert quiz.escape(value) == expect
def test_no_escape_needed(self, value): assert quiz.escape(value) == value
def test_empty(self): assert quiz.escape("") == ""
def test_fuzzing(self, value): assert isinstance(quiz.escape(value), six.text_type)
def test_empty(self): assert quiz.escape('') == ''