Fixed some bugs. Started auto complete

This commit is contained in:
simon
2018-04-11 13:46:05 -04:00
parent 410261da41
commit 8b55c3b681
16 changed files with 318 additions and 201 deletions

View File

@@ -6,10 +6,10 @@ class TextFileParserTest(TestCase):
def test_parse_csv(self):
parser = TextFileParser([], 12345)
parser = TextFileParser([], 1234)
info = parser.parse("test_files/text.csv")
self.assertTrue(info["content"].startswith("rosbagTimestamp,header,seq,stamp,secs,nsecs,"))
self.assertEqual(len(info["content"]), 12345)
self.assertEqual(len(info["content"]), 1309) # Size is larger because of html escaping
self.assertEqual(info["encoding"], "ascii")