Fix mock loader for osx /etc symlinks (#16074)

Fix role based unit tests for osx via mock.patch
This commit is contained in:
jctanner 2016-05-31 18:02:39 -04:00
parent c06884eff0
commit 373b23cc24
5 changed files with 21 additions and 0 deletions

5
test/units/mock/path.py Normal file
View file

@ -0,0 +1,5 @@
#!/usr/bin/env python
def mock_unfrackpath_noop(path):
''' Do not expand the path '''
return path