Use tests.support.paths instead of deprecated integration module

This commit is contained in:
Erik Johnson 2018-08-09 22:06:22 -05:00
parent ffb842d055
commit 23980830d1
No known key found for this signature in database
GPG key ID: 5E5583C437808F3F

View file

@ -10,10 +10,10 @@ import os
import re
# Import Salt Testing libs
from tests.support.paths import CODE_DIR
from tests.support.unit import TestCase
# Import Salt libs
import tests.integration as integration
import salt.modules.cmdmod
import salt.utils.platform
@ -34,7 +34,7 @@ class DocTestCase(TestCase):
https://github.com/saltstack/salt/issues/12788
'''
salt_dir = integration.CODE_DIR
salt_dir = CODE_DIR
if salt.utils.platform.is_windows():
# No grep in Windows, use findstr