Skip to content

Commit

Permalink
remove redundant tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Dustin J. Mitchell committed Jun 8, 2010
1 parent c32c649 commit 9d7bb03
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions slave/buildslave/test/unit/test_slave_commands_base.py
Expand Up @@ -8,7 +8,6 @@
from buildslave.test.util import nl
from buildslave.commands.base import ShellCommand, Obfuscated, \
DummyCommand, WaitCommand, waitCommandRegistry, AbandonChain
from buildslave.commands.utils import getCommand
from twisted.python import runtime


Expand Down Expand Up @@ -298,13 +297,6 @@ def testObfuscatedNonList(self):
self.failUnlessEqual(1, Obfuscated.get_real(cmd))
self.failUnlessEqual(1, Obfuscated.get_fake(cmd))

class TestUtils(unittest.TestCase):
def testGetCommand(self):
self.failUnlessEqual(sys.executable, getCommand(sys.executable))

def testGetBadCommand(self):
self.failUnlessRaises(RuntimeError, getCommand, "bad_command_that_really_would_never_exist.bat")

class TestDummy(unittest.TestCase):
def testDummy(self):
basedir = "test_slave_commands_base.dummy.dummy"
Expand Down

0 comments on commit 9d7bb03

Please sign in to comment.