MCPcopy Create free account
hub / github.com/StackStorm/st2 / test_spec_loader

Method test_spec_loader

st2common/tests/unit/test_spec_loader.py:27–30  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

25
26class SpecLoaderTest(unittest.TestCase):
27 def test_spec_loader(self):
28 self.assertTrue(
29 isinstance(spec_loader.load_spec("st2common", "openapi.yaml.j2"), dict)
30 )
31
32 def test_bad_spec_duplicate_keys(self):
33 self.assertRaisesRegex(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected