| Conditions | 1 |
| Total Lines | 13 |
| Code Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | # pylint: disable=unused-variable,expression-not-assigned |
||
| 8 | def describe_root(): |
||
| 9 | |||
| 10 | def it_returns_links_and_metadata(client): |
||
| 11 | status, data = load(client.get("/api/")) |
||
| 12 | |||
| 13 | expect(status) == 200 |
||
| 14 | expect(data) == { |
||
| 15 | 'templates': "http://localhost/api/templates/", |
||
| 16 | 'fonts': "http://localhost/api/fonts/", |
||
| 17 | 'aliases': "http://localhost/api/aliases/", |
||
| 18 | 'search': "http://localhost/api/search/", |
||
| 19 | 'version': "5.6", |
||
| 20 | 'changes': "https://raw.githubusercontent.com/jacebrowning/memegen/master/CHANGELOG.md" |
||
| 21 | } |
||
| 22 |