Permalink
Browse files

Removing mount from the unittest code

  • Loading branch information...
1 parent 3373e9e commit c9860ee4c493ac06c618eaa02553f56697d64d7b @jimi-c jimi-c committed Dec 29, 2012
Showing with 4 additions and 4 deletions.
  1. +4 −4 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):
"""

0 comments on commit c9860ee

Please sign in to comment.