'Tests that add_nested_class returns the proper class'

def test_add_nested_class(self):

    positive_cases = [[[u'item']], [{u'item1': u'value1'}], {u'item1': u'value1'}]
    negative_cases = [[u'list'], u'', None, True, False]
    for case in positive_cases:
        self.assertEqual(add_nested_class(case), u'class=nested')
    for case in negative_cases:
        self.assertEqual(add_nested_class(case), u'')
