Conditions | 2 |
Total Lines | 29 |
Lines | 0 |
Ratio | 0 % |
Changes | 11 | ||
Bugs | 0 | Features | 0 |
1 | import textwrap |
||
9 | @responses.activate |
||
10 | def test_status( |
||
11 | capsys, |
||
12 | git_repo, |
||
13 | configured, |
||
14 | ): |
||
15 | |||
16 | responses.add( |
||
17 | responses.GET, |
||
18 | LABEL_URL, |
||
19 | json=BUG_LABEL_JSON, |
||
20 | status=200, |
||
21 | content_type='application/json' |
||
22 | ) |
||
23 | |||
24 | status.status() |
||
25 | |||
26 | expected_output = textwrap.dedent( |
||
27 | """\ |
||
28 | Status [michaeljoseph/test_app]... |
||
29 | Repository: michaeljoseph/test_app... |
||
30 | Latest Version... |
||
31 | 0.0.1 |
||
32 | Changes... |
||
33 | 0 changes found since 0.0.1 |
||
34 | """ |
||
35 | ) |
||
36 | out, _ = capsys.readouterr() |
||
37 | assert expected_output == out |
||
38 | |||
83 |
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__.py
files in your module folders. Make sure that you place one file in each sub-folder.