| Conditions | 3 |
| Total Lines | 24 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 3 | ||
| Bugs | 0 | Features | 0 |
| 1 | import textwrap |
||
| 10 | def test_status( |
||
| 11 | capsys, |
||
| 12 | git_repo_with_merge_commit, |
||
| 13 | with_auth_token_envvar |
||
| 14 | ): |
||
| 15 | |||
| 16 | git('tag', '0.0.2') |
||
| 17 | |||
| 18 | status.status() |
||
| 19 | |||
| 20 | expected_output = textwrap.dedent( |
||
| 21 | """\ |
||
| 22 | Indexing repository... |
||
| 23 | Looking for Github auth token in the environment... |
||
| 24 | Repository: michaeljoseph/test_app... |
||
| 25 | Latest Version... |
||
| 26 | 0.0.2 |
||
| 27 | Changes... |
||
| 28 | 0 changes found since 0.0.2 |
||
| 29 | """ |
||
| 30 | ) |
||
| 31 | out, err = capsys.readouterr() |
||
| 32 | assert expected_output == out |
||
| 33 | assert '' == err |
||
| 34 |
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.