mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
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:
parent
91d895f776
commit
0e74d0a781
1 changed files with 2 additions and 6 deletions
|
@ -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': '',
|
||||
|
|
Loading…
Add table
Reference in a new issue