summaryrefslogtreecommitdiff
path: root/tests/unittests/test_handler/test_handler_growpart.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2014-02-26 14:28:46 -0500
committerScott Moser <smoser@ubuntu.com>2014-02-26 14:28:46 -0500
commit21fc25fbc0e73e15710d2f0333f7d3ba13eb3739 (patch)
treee2d11aa939fc2121201386ffcbf841913da7ee1b /tests/unittests/test_handler/test_handler_growpart.py
parent0fa8bfa1104b18aaed8afb720cf0fa8ad8b3ffa2 (diff)
downloadvyos-cloud-init-21fc25fbc0e73e15710d2f0333f7d3ba13eb3739.tar.gz
vyos-cloud-init-21fc25fbc0e73e15710d2f0333f7d3ba13eb3739.zip
pep8 and pylint
Diffstat (limited to 'tests/unittests/test_handler/test_handler_growpart.py')
-rw-r--r--tests/unittests/test_handler/test_handler_growpart.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/unittests/test_handler/test_handler_growpart.py b/tests/unittests/test_handler/test_handler_growpart.py
index 996526d3..f2ed4597 100644
--- a/tests/unittests/test_handler/test_handler_growpart.py
+++ b/tests/unittests/test_handler/test_handler_growpart.py
@@ -9,7 +9,6 @@ import errno
import logging
import os
import re
-import unittest
# growpart:
# mode: auto # off, on, auto, 'growpart'
@@ -203,7 +202,7 @@ def simple_device_part_info(devpath):
return x
-class Bunch:
+class Bunch(object):
st_mode = None # fix pylint complaint
def __init__(self, **kwds):