Skip to content

Commit

Permalink
Merge pull request #55671 from s0undt3ch/master
Browse files Browse the repository at this point in the history
Lint fixes to master
  • Loading branch information
dwoz authored Dec 17, 2019
2 parents 6d83704 + 32bea32 commit 1488318
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 7 deletions.
7 changes: 3 additions & 4 deletions tests/unit/modules/test_acme.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,15 @@

# Import Salt Testing libs
from tests.support.mixins import LoaderModuleMockMixin
from tests.support.unit import skipIf, TestCase
from tests.support.mock import NO_MOCK, NO_MOCK_REASON, MagicMock, patch
from tests.support.unit import TestCase
from tests.support.mock import MagicMock, patch

# Import Salt Module
import salt.modules.acme as acme
import salt.utils.dictupdate
from salt.exceptions import SaltInvocationError


@skipIf(NO_MOCK, NO_MOCK_REASON)
class AcmeTestCase(TestCase, LoaderModuleMockMixin):
'''
Test cases for salt.modules.acme
Expand Down Expand Up @@ -161,7 +160,7 @@ def test_cert(self):
again. To non-interactively renew *all* of your certificates, run
"certbot renew"
- If you like Certbot, please consider supporting our work by:
Donating to ISRG / Let's Encrypt: https://letsencrypt.org/donate
Donating to EFF: https://eff.org/donate-le
'''),
Expand Down
5 changes: 2 additions & 3 deletions tests/unit/states/test_acme.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,13 @@

# Import Salt Testing libs
from tests.support.mixins import LoaderModuleMockMixin
from tests.support.unit import skipIf, TestCase
from tests.support.mock import NO_MOCK, NO_MOCK_REASON, MagicMock, patch
from tests.support.unit import TestCase
from tests.support.mock import MagicMock, patch

# Import Salt Module
import salt.states.acme as acme


@skipIf(NO_MOCK, NO_MOCK_REASON)
class AcmeTestCase(TestCase, LoaderModuleMockMixin):
'''
Test cases for salt.modules.acme
Expand Down

0 comments on commit 1488318

Please sign in to comment.