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

All Samples(5)  |  Call(5)  |  Derive(0)  |  Import(0)
HTTP Interaction Player

Plays back an interaction from a dalton recording.

src/d/a/Dalton-HEAD/dalton/tests/__init__.py   Dalton(Download)
    def testPlay(self):
        h = self._makeHttp('www.google.com')
        test_dir = os.path.join(here, 'test_recordings', 'google_play_test')
        player = dalton.Player(caller=h, playback_dir=test_dir)
        with player.playing():
    def testEmptyPlay(self):
        h = self._makeHttp('www.google.com')
        test_dir = os.path.join(here, 'test_recordings', 'empty_play_test')
        player = dalton.Player(caller=h, playback_dir=test_dir)
 
    def testPlay(self):
        h = self._makeHttp('www.google.com')
        test_dir = os.path.join(here, 'test_recordings', 'google_play_test')
        player = dalton.Player(playback_dir=test_dir, use_global=True)
        with player.playing():

src/d/a/dalton-1.0/dalton/tests/__init__.py   dalton(Download)
    def testPlay(self):
        h = self._makeHttp('www.google.com')
        test_dir = os.path.join(here, 'test_recordings', 'google_play_test')
        player = dalton.Player(caller=h, playback_dir=test_dir)
        with player.playing():
    def testPlay(self):
        h = self._makeHttp('www.google.com')
        test_dir = os.path.join(here, 'test_recordings', 'google_play_test')
        player = dalton.Player(playback_dir=test_dir, use_global=True)
        with player.playing():