diff --git a/qa/testcases/test_002_board_class.py b/qa/testcases/test_002_board_class.py index e775475e66..33c3caa5fa 100644 --- a/qa/testcases/test_002_board_class.py +++ b/qa/testcases/test_002_board_class.py @@ -72,6 +72,10 @@ class TestBoardClass(unittest.TestCase): pad.SetSize(wxSizeMM(2.0, 3.0)) pad.SetPosition(wxPointMM(0,0)) + #Update the footprint bounding box, because + #the new pad must be inside the bounding box to be located + module.CalculateBoundingBox() + # easy case p1 = pcb.GetPad(wxPointMM(0,0))