def test_get_name_from_context_suite(self):
        plugin = self._make_one()
        context = mock.Mock(__name__='FakeContext')
        test = ContextSuite(context=context)

        name = plugin._cls_name(test)

        self.assertEqual(name, 'FakeContext')
When the test is actually a ContextSuite, get the name from context.
dataset/ETHPy150Open mblayman/tappy/tap/tests/test_nose_plugin.py/TestNosePlugin.test_get_name_from_context_suite