You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
298 B

  1. import os
  2. import unittest
  3. from doccano.app.classifier import run
  4. class TestClassifier(unittest.TestCase):
  5. @classmethod
  6. def setUpClass(cls):
  7. cls.filename = os.path.join(os.path.dirname(__file__), 'data/testdata.jsonl')
  8. def test_task_runner(self):
  9. run(self.filename)