Skip to content

Commit 0e74d0a

Browse files
removing os.path.realpath, which was breaking tests on Windows and is not necessary for this test to run on Linux. removing unneeded test data.
1 parent 91d895f commit 0e74d0a

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

tests/unit/states/test_mount.py

+2-6
Original file line numberDiff line numberDiff line change
@@ -451,18 +451,14 @@ def test_mounted_multiple_mounts(self):
451451
'''
452452
Test to verify that a device is mounted.
453453
'''
454-
name = os.path.realpath('/mnt/nfs1')
454+
name = '/mnt/nfs1'
455455
device = 'localhost:/mnt/nfsshare'
456456
fstype = 'nfs4'
457457

458-
name2 = os.path.realpath('/mnt/nfs2')
458+
name2 = '/mnt/nfs2'
459459
device2 = 'localhost:/mnt/nfsshare'
460460
fstype2 = 'nfs4'
461461

462-
name3 = os.path.realpath('/mnt/glusterfs1')
463-
device3 = 'localhost:/mnt/gluster_share'
464-
fstype3 = 'glusterfs'
465-
466462
ret = {'name': name,
467463
'result': False,
468464
'comment': '',

0 commit comments

Comments
 (0)