diff --git a/qa/testcases/test_002_board_class.py b/qa/testcases/test_002_board_class.py index 2623cc73df..9414a37c81 100644 --- a/qa/testcases/test_002_board_class.py +++ b/qa/testcases/test_002_board_class.py @@ -23,7 +23,7 @@ class TestBoardClass(unittest.TestCase): self.FILENAME=tempfile.mktemp()+".kicad_pcb" def test_pcb_find_module(self): - module = self.pcb.FindModuleByReference('P1') + module = self.pcb.FindFootprintByReference('P1') self.assertEqual(module.GetReference(),'P1') def test_pcb_get_track_count(self): diff --git a/qa/testcases/test_003_pads.py b/qa/testcases/test_003_pads.py index 893341042b..bad2a15132 100644 --- a/qa/testcases/test_003_pads.py +++ b/qa/testcases/test_003_pads.py @@ -7,7 +7,7 @@ class TestPads(unittest.TestCase): self.pcb = pcbnew.LoadBoard("data/custom_pads.kicad_pcb") def test_custom_pads_outline(self): - custom_pad1 = self.pcb.FindModuleByReference("SB1").Pads()[0] + custom_pad1 = self.pcb.FindFootprintByReference("SB1").Pads()[0] expected_polygons = [[ [1000000, 0], [500000, 750000],