'verify that get_icon_class works independent of condition satisfaction'

def test_icon_class(self):

    modules = ConditionalFactory.create(self.test_system)
    for attempted in ['false', 'true']:
        for icon_class in ['other', 'problem', 'video']:
            modules['source_module'].is_attempted = attempted
            modules['child_module'].get_icon_class = (lambda : icon_class)
            self.assertEqual(modules['cond_module'].get_icon_class(), icon_class)
