[blivet:master 0/5] A bunch of pylint inspired import fixes

David Lehman dlehman at redhat.com
Wed Apr 2 20:45:43 UTC 2014


On Wed, 2014-04-02 at 14:30 -0400, mulhern wrote:
> All on testing code.
> 
> mulhern (5):
>   Remove wildcard import
>   Do not use implicit relative imports
>   Move import to top level.
>   Import from the defining module.
>   Remove unused imports.
> 
>  tests/action_test.py                 |  7 +---
>  tests/clearpart_test.py              |  2 +-
>  tests/devicefactory_test.py          | 12 +++----
>  tests/devicelibs_test/btrfs_test.py  | 15 ++++----
>  tests/devicelibs_test/crypto_test.py | 15 ++++----
>  tests/devicelibs_test/lvm_test.py    | 68 +++++++++++++++++++-----------------
>  tests/devicelibs_test/mdraid_test.py | 17 ++++-----
>  tests/devicelibs_test/swap_test.py   | 17 +++++----
>  tests/devices_test.py                | 15 ++++----
>  tests/formats_test/fslabeling.py     | 19 +++++-----
>  tests/formats_test/init_test.py      |  1 -
>  tests/formats_test/labeling_test.py  |  2 +-
>  tests/formats_test/selinux_test.py   |  3 +-
>  tests/size_test.py                   |  3 +-
>  tests/storagetestcase.py             |  8 -----
>  15 files changed, 95 insertions(+), 109 deletions(-)
> 

They all look okay to me.



More information about the anaconda-patches mailing list