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.

This commit is contained in:
Gareth J. Greenaway 2020-01-26 10:45:39 -08:00
parent 91d895f776
commit 0e74d0a781
No known key found for this signature in database
GPG key ID: 10B62F8A7CAD7A41

View file

@ -451,18 +451,14 @@ class MountTestCase(TestCase, LoaderModuleMockMixin):
'''
Test to verify that a device is mounted.
'''
name = os.path.realpath('/mnt/nfs1')
name = '/mnt/nfs1'
device = 'localhost:/mnt/nfsshare'
fstype = 'nfs4'
name2 = os.path.realpath('/mnt/nfs2')
name2 = '/mnt/nfs2'
device2 = 'localhost:/mnt/nfsshare'
fstype2 = 'nfs4'
name3 = os.path.realpath('/mnt/glusterfs1')
device3 = 'localhost:/mnt/gluster_share'
fstype3 = 'glusterfs'
ret = {'name': name,
'result': False,
'comment': '',