MCPcopy Create free account
hub / github.com/modelscope/modelscope / test_run

Method test_run

tests/pipelines/test_content_check.py:17–20  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

15
16 @unittest.skipUnless(test_level() >= 0, 'skip test in current test level')
17 def test_run(self):
18 content_check_func = pipeline(self.task, model=self.model_id)
19 result = content_check_func('data/test/images/content_check.jpg')
20 print(result)
21
22
23if __name__ == '__main__':

Callers

nothing calls this directly

Calls 2

pipelineFunction · 0.90
printFunction · 0.85

Tested by

no test coverage detected