Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

WIP

  • Loading branch information...
commit 05b440de6026b54f46162d5f977606e5feec7f97 1 parent 075e1bf
Erik Allik authored
View
1  unnamedframework/actor/__init__.py
@@ -1,2 +1,3 @@
from _actor import *
+from temp import spawn_tmp
# from . import comm
View
23 unnamedframework/tests/actor_test.py
@@ -1149,6 +1149,29 @@ def test_TODO_stopped_actors_remote_refs_are_optimised():
##
+## TEMPORARY ACTORS, FUTURES & PIPING
+
+def test_TODO_test_temporary_actor():
+ pass
+ # random_msg = 'dummy-%r' % random.random()
+
+ # tmp_actor, tmp_d = spawn_tmp(Deferred())
+
+ # d = Events.consume_one(TopLevelActorTerminated)
+ # tmp_actor << random_msg
+ # assert not d.called
+
+ # eq_(deferred_result(tmp_d), random_msg)
+
+ # with assert_one_event(DeadLetter):
+ # tmp_actor << 'another-message'
+
+
+def test_TODO_test_temporary_actor_with_remoting():
+ pass
+
+
+##
## SUPERVISION & ERROR HANDLING
def test_child_is_resumed_if_supervise_returns_resume():
Please sign in to comment.
Something went wrong with that request. Please try again.