1
0
mirror of https://github.com/gsi-upm/senpy synced 2025-09-14 18:42:22 +00:00

Multiple changes in the API, schemas and UI

Check out the CHANGELOG.md file for more information
This commit is contained in:
J. Fernando Sánchez
2019-01-07 12:08:19 +01:00
parent 4ba30304a4
commit 8a516d927e
111 changed files with 9670 additions and 46155 deletions

View File

@@ -12,8 +12,8 @@ class CLITest(TestCase):
def test_basic(self):
self.assertRaises(Error, partial(main_function, []))
res = main_function(['--input', 'test', '--algo', 'rand',
'--with-parameters', '--default-plugins'])
res = main_function(['--input', 'test', '--algo', 'sentiment-random',
'--with-parameters'])
assert res.parameters['input'] == 'test'
assert 'rand' in res.parameters['algorithm']
assert 'sentiment-random' in res.parameters['algorithm']
assert res.parameters['input'] == 'test'