Skip to content

Commit 9a1e162

Browse files
committed
Update tests: fix tests to cope with Future impl changes
1 parent 5c5569c commit 9a1e162

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
@@ -118,7 +118,7 @@ class TestDefinition(TestWorkflow):
118118
"""
119119
def run(self):
120120
a = self.submit(increment, 1)
121-
assert isinstance(a, futures.Future)
121+
assert isinstance(a, futures.AbstractFuture)
122122

123123
b = self.submit(double, a)
124124

0 commit comments

Comments
 (0)