Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removing mount from the unittest code

  • Loading branch information...
commit c9860ee4c493ac06c618eaa02553f56697d64d7b 1 parent 3373e9e
@jimi-c jimi-c authored
Showing with 4 additions and 4 deletions.
  1. +4 −4 newtests/cobbler_cli_test.py
View
8 newtests/cobbler_cli_test.py
@@ -45,8 +45,8 @@ def setUp(self):
"""
Set up, mounts NFS share
"""
- (data,rc) = utils.subprocess_sp(None,["mount","-t","nfs4","jenkins.sngx.net:/home/shared/distros","/mnt"],shell=False)
- self.assertEqual(rc,0)
+ #(data,rc) = utils.subprocess_sp(None,["mount","-t","nfs4","jenkins.sngx.net:/home/shared/distros","/mnt"],shell=False)
+ #self.assertEqual(rc,0)
def tearDown(self):
"""
Cleanup here
@@ -56,8 +56,8 @@ def tearDown(self):
(data,rc) = utils.subprocess_sp(None,["cobbler","distro","remove","--name=%s" % d],shell=False)
except:
print "Failed to remove distro '%s' during cleanup" % d
- (data,rc) = utils.subprocess_sp(None,["umount","/mnt"],shell=False)
- self.assertEqual(rc,0)
+ #(data,rc) = utils.subprocess_sp(None,["umount","/mnt"],shell=False)
+ #self.assertEqual(rc,0)
class Test_B_Imports(CobblerImportTest):
"""
Please sign in to comment.
Something went wrong with that request. Please try again.