'Test make unicode lines in TestLineProtocol object.'

def test_make_lines_unicode(self):

    data = {u'tags': {u'unicode_tag': u"'\u041f\u0440\u0438\u0432\u0435\u0442!'"}, u'points': [{u'measurement': u'test', u'fields': {u'unicode_val': u'\u041f\u0440\u0438\u0432\u0435\u0442!'}}]}
    self.assertEqual(line_protocol.make_lines(data), u'test,unicode_tag=\'\u041f\u0440\u0438\u0432\u0435\u0442!\'    unicode_val="\u041f\u0440\u0438\u0432\u0435\u0442!"\n')
