Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(7)  |  Call(7)  |  Derive(0)  |  Import(0)

src/d/r/dramatis-0.1.1/test/dramatis/actor/future_test.py   dramatis(Download)
    def test_future_names(self):
        "should allow future names to be created"
 
        actor = dramatis.Actor( object() )
        future_name = dramatis.future( actor )
        actor = dramatis.Actor( O() )
 
        future_name = dramatis.future( actor )
 
        x = future_name.foo("bar")
        actor = dramatis.Actor(O())
 
        future_name = dramatis.future( actor )
 
        x = future_name.foo("bar")
        actor = dramatis.Actor( object() )
 
        future_name = dramatis.future( actor )
 
        x = future_name.bar( "bar" )
        actor = dramatis.Actor(O())
 
        future_name = dramatis.future( actor )
 
        x = future_name.foo("bar")