def setUp(self): self.actor = AnActor.named("Perry").who_can(BrowseTheWeb.using(Firefox()))
def fixture_actor() -> Generator: """Create the actor for our example tests!""" the_actor = Actor.named("Perry").who_can(BrowseTheWeb.using(Firefox())) yield the_actor the_actor.exit_stage_left()
def test_can_be_instantiated(self): """Can be instantiated""" b = BrowseTheWeb.using(None) assert isinstance(b, BrowseTheWeb)