Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
Erik Allik committed Aug 29, 2012
1 parent 075e1bf commit 05b440d
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
1 change: 1 addition & 0 deletions unnamedframework/actor/__init__.py
@@ -1,2 +1,3 @@
from _actor import *
from temp import spawn_tmp
# from . import comm
23 changes: 23 additions & 0 deletions unnamedframework/tests/actor_test.py
Expand Up @@ -1148,6 +1148,29 @@ def test_TODO_stopped_actors_remote_refs_are_optimised():
pass


##
## 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

Expand Down

0 comments on commit 05b440d

Please sign in to comment.