Initial commit

This commit is contained in:
Kristjan Žagar
2022-04-21 17:35:37 +02:00
commit 89fa62796e
35 changed files with 2039 additions and 0 deletions
@@ -0,0 +1,31 @@
# coding: utf-8
from __future__ import absolute_import
from flask import json
from six import BytesIO
from swagger_server.test import BaseTestCase
class TestMarktextController(BaseTestCase):
"""MarktextController integration test stubs"""
def test_get_text(self):
"""Test case for get_text
Označi besedilo s classlo/stanzo z uporabo slovenskih modelov ter vrne conll-u format
"""
body = 'body_example'
response = self.client.open(
'/oznaciBesedilo',
method='POST',
data=json.dumps(body),
content_type='application/json')
self.assert200(response,
'Response body is : ' + response.data.decode('utf-8'))
if __name__ == '__main__':
import unittest
unittest.main()