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

mulhern amulhern at redhat.com
Wed Apr 2 18:30:43 UTC 2014


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(-)

-- 
1.8.3.1



More information about the anaconda-patches mailing list