| Conditions | 3 |
| Total Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | from changes import models |
||
| 11 | def test_merged_pull_requests(git_repo): |
||
| 12 | github = 'Merge pull request #111 from michaeljoseph/appveyor' |
||
| 13 | git('commit', '--allow-empty', '-m', github) |
||
| 14 | |||
| 15 | pull_requests = models.merged_pull_requests() |
||
| 16 | assert 1 == len(pull_requests) |
||
| 17 | |||
| 18 | assert pull_requests[0].pr_number == '111' |
||
| 19 |
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.