mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Use tests.support.paths instead of deprecated integration module
This commit is contained in:
parent
ffb842d055
commit
23980830d1
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue