| Conditions | 1 |
| Total Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| 1 | """Test HTTP capabilities of the core's frontend.""" |
||
| 21 | def testWorking(self): |
||
| 22 | 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 | self.assertResponse(q, []) |
||
| 28 | def testNoTree(self): |
||
| 31 |