Skip to content
Snippets Groups Projects
Commit 1787fe00 authored by Jay's avatar Jay
Browse files

updates to tests

parent eb46fd9e
No related branches found
No related tags found
No related merge requests found
...@@ -73,7 +73,7 @@ class TestWriteIsisControlNetwork(unittest.TestCase): ...@@ -73,7 +73,7 @@ class TestWriteIsisControlNetwork(unittest.TestCase):
self.assertEqual('None', header_protocol.description) self.assertEqual('None', header_protocol.description)
self.assertEqual(self.modified_date, header_protocol.lastModified) self.assertEqual(self.modified_date, header_protocol.lastModified)
#Repeating #Repeating
self.assertEqual([99] * self.npts, header_protocol.pointMessageSizes) self.assertEqual([135] * self.npts, header_protocol.pointMessageSizes)
def test_create_point(self): def test_create_point(self):
...@@ -99,7 +99,7 @@ class TestWriteIsisControlNetwork(unittest.TestCase): ...@@ -99,7 +99,7 @@ class TestWriteIsisControlNetwork(unittest.TestCase):
self.assertEqual(10, mpoints) self.assertEqual(10, mpoints)
points_bytes = find_in_dict(pvl_header, 'PointsBytes') points_bytes = find_in_dict(pvl_header, 'PointsBytes')
self.assertEqual(495, points_bytes) self.assertEqual(675, points_bytes)
points_start_byte = find_in_dict(pvl_header, 'PointsStartByte') points_start_byte = find_in_dict(pvl_header, 'PointsStartByte')
self.assertEqual(self.point_start_byte, points_start_byte) self.assertEqual(self.point_start_byte, points_start_byte)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment