MCPcopy Create free account
hub / github.com/IfcOpenShell/IfcOpenShell / verify

Method verify

src/bonsai/test/core/bootstrap.py:373–381  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

371 return self
372
373 def verify(self) -> None:
374 predicted_calls: list[Call] = []
375 for prediction in self.predictions:
376 predicted_calls.append(prediction["call"])
377 if prediction["type"] == "SHOULD_BE_CALLED":
378 self.verify_should_be_called(prediction)
379 for call in self.calls:
380 if call not in predicted_calls:
381 raise Exception(f"Unpredicted call: {call}")
382
383 def verify_should_be_called(self, prediction: Prediction) -> None:
384 if prediction["number"]:

Callers 15

ifcFunction · 0.95
blenderFunction · 0.95
brickFunction · 0.95
aggregateFunction · 0.95
collectorFunction · 0.95
contextFunction · 0.95
debugFunction · 0.95
demoFunction · 0.95
documentFunction · 0.95
drawingFunction · 0.95
geometryFunction · 0.95
ifcgitFunction · 0.95

Calls 2

appendMethod · 0.45

Tested by

no test coverage detected