Call sync_all to fix Windows test case

This commit is contained in:
Daniel A. Wozniak 2018-07-22 01:00:02 +00:00
parent 6a494205f2
commit d731e6bf8e
No known key found for this signature in database
GPG key ID: 166B9D2C06C82D61

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