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