'Test string value with newline in TestLineProtocol object.'

def test_string_val_newline(self):

    data = {u'points': [{u'measurement': u'm1', u'fields': {u'multi_line': u'line1\nline1\nline3'}}]}
    self.assertEqual(line_protocol.make_lines(data), u'm1    multi_line="line1\\nline1\\nline3"\n')
