| Conditions | 2 |
| Total Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| 1 | # pylint: disable=unused-variable,expression-not-assigned |
||
| 6 | def describe_generator(): |
||
| 7 | |||
| 8 | def it_returns_html(client): |
||
| 9 | response = client.get("/generator") |
||
| 10 | |||
| 11 | expect(response.status_code) == 200 |
||
| 12 | expect(response.mimetype) == 'text/html' |
||
| 13 | expect(response.get_data(as_text=True)).contains("Meme Generator") |
||
| 14 |
This can be caused by one of the following:
1. Missing Dependencies
This error could indicate a configuration issue of Pylint. Make sure that your libraries are available by adding the necessary commands.
2. Missing __init__.py files
This error could also result from missing
__init__.pyfiles in your module folders. Make sure that you place one file in each sub-folder.