'Calling L{decorate} on a test suite with nested suites will return a
test suite that maintains the same structure, but with all tests
decorated.'

def test_decorateNestedTestSuite(self):

    test = self.TestCase()
    suite = unittest.TestSuite([unittest.TestSuite([test])])
    decoratedTest = unittest.decorate(suite, unittest.TestDecorator)
    expected = unittest.TestSuite([unittest.TestSuite([unittest.TestDecorator(test)])])
    self.assertSuitesEqual(decoratedTest, expected)
