def test_quote_invalid(self): with self.assertRaises(ValidationError): is_quote("'<' '>' '{'")
def test_quote_valid(self): self.assertEqual(is_quote("'<' '>' '{' '}'"), Quotes([('<', '>'), ('{', '}')]))
def test_quote_invalid(self): with self.assertRaises(ValidationError): is_quote("'<' '>' '{'")
def test_quote_valid(self): self.assertEqual(is_quote("'<' '>' '{' '}'"), Quotes([('<', '>'), ('{', '}')]))