MCPcopy Create free account
hub / github.com/Derive-Risk/pyfair / test_inspection

Method test_inspection

tests/model/test_meta_model.py:56–64  ·  view source on GitHub ↗

Check the inspection methods

(self)

Source from the content-addressed store, hash-verified

54 )
55
56 def test_inspection(self):
57 """Check the inspection methods"""
58 # Check inspection methods
59 self._meta.get_name()
60 self._meta.get_uuid()
61 # Check dataframe
62 self.assertIsInstance(self._meta.export_results(), pd.DataFrame)
63 # Check Params
64 self.assertIsInstance(self._meta.export_params(), dict)
65
66 def test_calculation(self):
67 """Run a calulate all."""

Callers

nothing calls this directly

Calls 4

get_nameMethod · 0.45
get_uuidMethod · 0.45
export_resultsMethod · 0.45
export_paramsMethod · 0.45

Tested by

no test coverage detected