fix pep8/pylint
This commit is contained in:
parent
fa1f9bf766
commit
9206e9f239
@ -424,7 +424,7 @@ def _normalize_groups(grp_cfg):
|
|||||||
# configuration.
|
# configuration.
|
||||||
#
|
#
|
||||||
# The output is a dictionary of user
|
# The output is a dictionary of user
|
||||||
# names => user config which is the standard
|
# names => user config which is the standard
|
||||||
# form used in the rest of cloud-init. Note
|
# form used in the rest of cloud-init. Note
|
||||||
# the default user will have a special config
|
# the default user will have a special config
|
||||||
# entry 'default' which will be marked as true
|
# entry 'default' which will be marked as true
|
||||||
|
@ -6,11 +6,10 @@ import os.path
|
|||||||
import mocker
|
import mocker
|
||||||
from mocker import MockerTestCase
|
from mocker import MockerTestCase
|
||||||
|
|
||||||
from cloudinit.sources import DataSourceConfigDrive as ds
|
|
||||||
from cloudinit import settings
|
|
||||||
from cloudinit import util
|
|
||||||
from cloudinit import helpers
|
from cloudinit import helpers
|
||||||
|
from cloudinit import settings
|
||||||
|
from cloudinit.sources import DataSourceConfigDrive as ds
|
||||||
|
from cloudinit import util
|
||||||
|
|
||||||
|
|
||||||
PUBKEY = u'ssh-rsa AAAAB3NzaC1....sIkJhq8wdX+4I3A4cYbYP ubuntu@server-460\n'
|
PUBKEY = u'ssh-rsa AAAAB3NzaC1....sIkJhq8wdX+4I3A4cYbYP ubuntu@server-460\n'
|
||||||
|
@ -14,6 +14,7 @@ bcfg = {
|
|||||||
'groups': ["foo"]
|
'groups': ["foo"]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
class TestUGNormalize(MockerTestCase):
|
class TestUGNormalize(MockerTestCase):
|
||||||
|
|
||||||
def _make_distro(self, dtype, def_user=None):
|
def _make_distro(self, dtype, def_user=None):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user