mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Mirror libnacl imports in test from the nacl module
This commit is contained in:
parent
8cdd56b9dc
commit
f11d58a8e9
1 changed files with 3 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
'''
|
||||
Tests for the salt-run command
|
||||
Tests for the nacl execution module
|
||||
'''
|
||||
# Import Python libs
|
||||
from __future__ import absolute_import, print_function, unicode_literals
|
||||
|
@ -12,7 +12,8 @@ from tests.support.case import ModuleCase
|
|||
from tests.support.unit import skipIf
|
||||
|
||||
try:
|
||||
import libnacl # pylint: disable=unused-import
|
||||
import libnacl.secret # pylint: disable=unused-import
|
||||
import libnacl.sealed # pylint: disable=unused-import
|
||||
HAS_LIBNACL = True
|
||||
except ImportError:
|
||||
HAS_LIBNACL = False
|
||||
|
|
Loading…
Add table
Reference in a new issue