'Using an unknown shellType should raise NotImplementedError'

def test_unknownShell(self):

    classes = [usage.Completer, usage.CompleteFiles, usage.CompleteDirs, usage.CompleteList, usage.CompleteMultiList, usage.CompleteUsernames, usage.CompleteGroups, usage.CompleteHostnames, usage.CompleteUserAtHost, usage.CompleteNetInterfaces]
    for cls in classes:
        try:
            action = cls()
        except:
            action = cls(None)
        self.assertRaises(NotImplementedError, action._shellCode, None, 'bad_shell_type')
