Fix up python test for new comment signatures.

Fixes: lp:1793148
* https://bugs.launchpad.net/kicad/+bug/1793148
This commit is contained in:
Jeff Young 2019-08-23 00:55:39 +01:00
parent c85d1fa00c
commit d080c928a7
1 changed files with 2 additions and 2 deletions

View File

@ -94,7 +94,7 @@ class TestBoardClass(unittest.TestCase):
def test_pcb_save_and_load(self):
pcb = BOARD()
pcb.GetTitleBlock().SetTitle(self.TITLE)
pcb.GetTitleBlock().SetComment1(self.COMMENT1)
pcb.GetTitleBlock().SetComment(0,self.COMMENT1)
result = SaveBoard(self.FILENAME,pcb)
self.assertTrue(result)
@ -103,7 +103,7 @@ class TestBoardClass(unittest.TestCase):
tb = pcb2.GetTitleBlock()
self.assertEqual(tb.GetTitle(),self.TITLE)
self.assertEqual(tb.GetComment1(),self.COMMENT1)
self.assertEqual(tb.GetComment(0),self.COMMENT1)
os.remove(self.FILENAME)