mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-04-25 00:16:23 +02:00
Add unit tests for base helper modules (#797)
- add unit tests for base metrics, logging, spec, parameter_spec, and flow modules - add a lightweight test-only module loader so these tests can run without optional runtime dependencies - fix Parameter.start/stop to accept self
This commit is contained in:
parent
a89d6261c7
commit
39dcd1d386
4 changed files with 338 additions and 2 deletions
|
|
@ -4,9 +4,9 @@ from . spec import Spec
|
|||
class Parameter:
|
||||
def __init__(self, value):
|
||||
self.value = value
|
||||
async def start():
|
||||
async def start(self):
|
||||
pass
|
||||
async def stop():
|
||||
async def stop(self):
|
||||
pass
|
||||
|
||||
class ParameterSpec(Spec):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue