plint

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

test_bad_counts.py (254B)


      1 from _pytest import unittest
      2 
      3 from plint.tests.test_counts import Counts
      4 
      5 
      6 class BadCounts(Counts):
      7     def testBad(self):
      8         f = self.runCount("Cela cela", limit=5)
      9         self.assertEqual(0, len(f))
     10 
     11 if __name__ == "__main__":
     12     unittest.main()