Merge pull request #48700 from dwoz/ext_mod_test

Call sync_modules to fix Windows test case
This commit is contained in:
Daniel Wozniak 2018-07-22 15:23:47 -07:00 committed by GitHub
commit ab44a05fe4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,6 +21,9 @@ from tests.support.paths import TMP
class LoaderOverridesTest(ModuleCase):
def setUp(self):
self.run_function('saltutil.sync_modules')
def test_overridden_internal(self):
# To avoid a race condition on Windows, we need to make sure the
# `override_test.py` file is present in the _modules directory before