| Conditions | 3 |
| Total Lines | 14 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | from plumbum.cmd import git |
||
| 32 | def test_latest_version(git_repo_with_merge_commit): |
||
| 33 | git('tag', '0.0.2') |
||
| 34 | git('tag', '0.0.3') |
||
| 35 | |||
| 36 | repository = models.GitRepository() |
||
| 37 | |||
| 38 | expected_versions = [ |
||
| 39 | Version('0.0.1'), |
||
| 40 | Version('0.0.2'), |
||
| 41 | Version('0.0.3'), |
||
| 42 | ] |
||
| 43 | assert expected_versions == repository.versions |
||
| 44 | |||
| 45 | assert Version('0.0.3') == repository.latest_version |
||
| 46 |
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.