First implementation of services and basic injection. Not working with CLI for now.

This commit is contained in:
Romain Dorgueil
2017-04-25 22:04:21 +02:00
parent 18abb39206
commit efcd4361cc
41 changed files with 538 additions and 324 deletions

View File

@ -1,11 +1,12 @@
import pytest
import bonobo as bb
import bonobo.basics
@pytest.mark.timeout(2)
def test_run_graph_noop():
graph = bb.Graph(bb.noop)
graph = bb.Graph(bonobo.basics.noop)
assert len(graph) == 1
result = bb.run(graph, strategy='threadpool')