seed: lint

Signed-off-by: Mathieu Le Marec - Pasquet <kiorky@cryptelium.net>
This commit is contained in:
Mathieu Le Marec - Pasquet 2015-05-24 14:50:18 +02:00
parent 96b8d55f14
commit 458f50617b
2 changed files with 5 additions and 5 deletions

View file

@ -8,7 +8,6 @@ from __future__ import absolute_import
# Import python libs
import os
import shutil
import yaml
import logging
import tempfile

View file

@ -32,7 +32,11 @@ seed.__opts__ = {}
@skipIf(NO_MOCK, NO_MOCK_REASON)
class SeedTestCase(TestCase):
def test_mkconfig(self):
'''
Test cases for salt.modules.seed
'''
def test_mkconfig_odict(self):
with patch.dict(seed.__opts__,
{'master': 'foo'}):
ddd = salt.utils.odict.OrderedDict()
@ -43,9 +47,6 @@ class SeedTestCase(TestCase):
fdata = fic.read()
self.assertEqual(fdata, 'b: b\na: b\nmaster: foo\n')
'''
Test cases for salt.modules.seed
'''
def test_prep_bootstrap(self):
'''
Test to update and get the random script to a random place