mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
seed: lint
Signed-off-by: Mathieu Le Marec - Pasquet <kiorky@cryptelium.net>
This commit is contained in:
parent
96b8d55f14
commit
458f50617b
2 changed files with 5 additions and 5 deletions
|
@ -8,7 +8,6 @@ from __future__ import absolute_import
|
|||
# Import python libs
|
||||
import os
|
||||
import shutil
|
||||
import yaml
|
||||
import logging
|
||||
import tempfile
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue