MCPcopy Create free account
hub / github.com/EmbeddedRPC/erpc / run

Method run

erpcgen/test/conftest.py:634–651  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

632 return mod
633
634 def run(self):
635 # List all available packages.
636 pkgNames = [f for f in os.listdir(
637 str(self._out_dir)) if os.path.isdir(f)]
638
639 for pkgName in pkgNames:
640 # Load generated package.
641 pkg = self._load_module("test", "__init__.py", self._out_dir)
642
643 # Load modules in the package.
644 packageDir = os.path.join(
645 path.local(pkg.__path__[0]), pkg.__name__)
646 pkg = self._load_module("testAll", "__init__.py", packageDir)
647
648 (pkg.interface is not None)
649 (pkg.common is not None)
650 (pkg.client is not None)
651 (pkg.server is not None)
652
653
654class ErpcgenTestCase(object):

Callers

nothing calls this directly

Calls 1

_load_moduleMethod · 0.95

Tested by

no test coverage detected