Conditions | 3 |
Total Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | from click.testing import CliRunner |
||
30 | def test_status(git_repo_with_merge_commit): |
||
31 | result = CliRunner().invoke( |
||
32 | main, |
||
33 | ['status'], |
||
34 | env={'GITHUB_AUTH_TOKEN': 'foo'}, |
||
35 | ) |
||
36 | assert 0 == result.exit_code |
||
37 | |||
38 | expected_output = '\n'.join([ |
||
39 | |||
40 | ]) |
||
41 | assert expected_output == result.output |
||
42 |
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.