fix pep8 and pylint warnings
This commit is contained in:
parent
19db845740
commit
8dab25c0aa
@ -20,8 +20,6 @@
|
|||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
import os
|
|
||||||
|
|
||||||
from cloudinit import distros
|
from cloudinit import distros
|
||||||
from cloudinit import helpers
|
from cloudinit import helpers
|
||||||
from cloudinit import log as logging
|
from cloudinit import log as logging
|
||||||
|
@ -18,8 +18,6 @@
|
|||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
# along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
import os
|
|
||||||
|
|
||||||
from cloudinit import distros
|
from cloudinit import distros
|
||||||
|
|
||||||
from cloudinit.distros.parsers.hostname import HostnameConf
|
from cloudinit.distros.parsers.hostname import HostnameConf
|
||||||
|
@ -249,7 +249,6 @@ class TestAzureDataSource(MockerTestCase):
|
|||||||
|
|
||||||
def test_apply_bounce_call_1(self):
|
def test_apply_bounce_call_1(self):
|
||||||
# hostname needs to get through to apply_hostname_bounce
|
# hostname needs to get through to apply_hostname_bounce
|
||||||
mydata = "FOOBAR"
|
|
||||||
odata = {'HostName': 'my-random-hostname'}
|
odata = {'HostName': 'my-random-hostname'}
|
||||||
data = {'ovfcontent': construct_valid_ovf_env(data=odata)}
|
data = {'ovfcontent': construct_valid_ovf_env(data=odata)}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user