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

import os
import unittest
from doccano.app.classifier import run
class TestClassifier(unittest.TestCase):
@classmethod
def setUpClass(cls):
cls.filename = os.path.join(os.path.dirname(__file__), 'data/testdata.jsonl')
def test_task_runner(self):
run(self.filename)