'A I{foreground} and I{background} color string assembles to a string
prefixed with the I{off} and I{color} (followed by the relevant
foreground color, I{,} and the relevant background color code) control
codes.'

def test_assembleColor(self):

    self.assertEqual(irc.assembleFormattedText(A.fg.red[A.bg.blue['hello']]), '\x0f\x0305,02hello')
