Mirror libnacl imports in test from the nacl module

This commit is contained in:
Ch3LL 2018-03-21 15:10:46 -04:00
parent 8cdd56b9dc
commit f11d58a8e9
No known key found for this signature in database
GPG key ID: 132B55A7C13EFA73

View file

@ -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