Skip to content

Commit 651bf4a

Browse files
committed
Update tests: fix tests to cope with Future impl changes
1 parent 384e88d commit 651bf4a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/futures/test_futures.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44

55
from simpleflow import futures
6-
from simpleflow.futures import Future
6+
from simpleflow.swf.futures import Future
77

88

99
def test_future_init_state():

tests/test_dataflow.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ class TestDefinition(TestWorkflow):
115115
"""
116116
def run(self):
117117
a = self.submit(increment, 1)
118-
assert isinstance(a, futures.Future)
118+
assert isinstance(a, futures.AbstractFuture)
119119

120120
b = self.submit(double, a)
121121

0 commit comments

Comments
 (0)