'Passing None as a tag name to L{IRC.sendCommand} raises a
C{ValueError}.'

def test_sendCommandValidateNoneTags(self):

    sendTags = {u'aaa': u'bbb', u'ccc': None, None: u'beep'}
    error = self.assertRaises(ValueError, self.p.sendCommand, u'CMD', (u'param1', u'param2'), u'irc.example.com', sendTags)
    self.assertEqual(error.args[0], 'A    tag    name    is    required.')
