Minor fixes and update documentation. Preparing the upcoming 0.2 release.
This commit is contained in:
14
tests/test_basicusage.py
Normal file
14
tests/test_basicusage.py
Normal file
@ -0,0 +1,14 @@
|
||||
import pytest
|
||||
|
||||
import bonobo as bb
|
||||
|
||||
|
||||
@pytest.mark.timeout(2)
|
||||
def test_run_graph_noop():
|
||||
graph = bb.Graph(
|
||||
bb.noop
|
||||
)
|
||||
assert len(graph) == 1
|
||||
|
||||
result = bb.run(graph, strategy='threadpool')
|
||||
assert result
|
||||
Reference in New Issue
Block a user