'Tests format_value with a dict'

def test_format_value_dict(self):

    test_dict = {u'a': u'b'}
    expected_dict_format = u'\n                                <table    class="table    table-striped">\n                                                <tbody>\n                                                                <tr>\n                                                                                <th>a</th>\n                                                                                <td>b</td>\n                                                                </tr>\n                                                </tbody>\n                                </table>'
    self.assertEqual(format_html(format_value(test_dict)), format_html(expected_dict_format))
