[tests] pylint E041 failures for ddt and mock
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Shared File Systems Service (Manila) |
Fix Released
|
Medium
|
Tom Barron |
Bug Description
When a git commit includes changes to manila test code it typically has E401 failures claiming
that ddt and mock cannot be imported. For example:
2019-01-23 19:20:57.403442 | ubuntu-xenial | Running pylint against:
2019-01-23 19:20:57.403635 | ubuntu-xenial | manila/manager.py
2019-01-23 19:20:57.403703 | ubuntu-xenial | manila/service.py
2019-01-23 19:20:57.403773 | ubuntu-xenial | manila/
2019-01-23 19:20:57.403874 | ubuntu-xenial | manila/
2019-01-23 19:20:57.403943 | ubuntu-xenial | manila/
2019-01-23 19:20:57.404062 | ubuntu-xenial | manila/
2019-01-23 19:20:57.404152 | ubuntu-xenial | manila/
...
2019-01-23 19:21:15.383441 | ubuntu-xenial | manila/
2019-01-23 19:21:15.383699 | ubuntu-xenial | manila/
Although warnings that modules cannot be imported are valuable, these are spurious. We know that they can and are imported and used by our test code.
tags: | added: tests |
Changed in manila: | |
milestone: | none → stein-3 |
importance: | Undecided → Low |
Changed in manila: | |
importance: | Low → Medium |
Fix proposed to branch: master /review. openstack. org/632992
Review: https:/