Commit ef28d628 by Michael DeHaan

Update TestUtils.py

tests shouldn't be making symlinks to system dirs, also fixes unit test report on OS X.
parent 05b3aaa3
...@@ -15,12 +15,6 @@ class TestUtils(unittest.TestCase): ...@@ -15,12 +15,6 @@ class TestUtils(unittest.TestCase):
##################################### #####################################
### varReplace function tests ### varReplace function tests
def test_unfrackpath(self):
os.symlink("/etc", "/tmp/etc")
a = ansible.utils.unfrackpath('$HOME/../../tmp/etc/')
assert a == '/etc'
os.unlink('/tmp/etc')
def test_varReplace_simple(self): def test_varReplace_simple(self):
template = 'hello $who' template = 'hello $who'
vars = { vars = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment