plint

French poetry validator (local mirror of https://gitlab.com/a3nm/plint)
git clone https://a3nm.net/git/plint/
Log | Files | Refs | README

test_template.py (244B)


      1 import unittest
      2 
      3 from plint import template
      4 
      5 
      6 class TemplateTest(unittest.TestCase):
      7     def testSingleHyphens(self):
      8         t = template.Template("12")
      9         text = "-"
     10         t.check(text)
     11 
     12 
     13 if __name__ == "__main__":
     14     unittest.main()