Conditions | 1 |
Total Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 3 |
CRAP Score | 1 |
1 | """Test HTTP capabilities of the core's frontend.""" |
||
21 | 1 | def testWorking(self): |
|
22 | 1 | q = {'id': '1', 'language': 'en', 'tree': {'type': 'triple', |
|
23 | 'subject': {'type': 'resource', 'value': 'foo'}, |
||
24 | 'predicate': {'type': 'resource', 'value': 'bar'}, |
||
25 | 'object': {'type': 'resource', 'value': 'baz'}}, |
||
26 | 'measures': {}, 'trace': []} |
||
27 | 1 | self.assertResponse(q, []) |
|
28 | 1 | def testNoTree(self): |
|
31 |