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

All Samples(16)  |  Call(8)  |  Derive(0)  |  Import(8)
    

src/t/u/turses-0.2.22/tests/test_api.py   turses(Download)
from turses.models import Timeline
from turses.api.base import AsyncApi
from turses.api.debug import MockApi
from turses.api.backends import TweepyApi
from turses.api.helpers import (
ACCESS_TOKEN_SECRET = 'Skull joke!'
 
mock_api = MockApi(ACCESS_TOKEN, ACCESS_TOKEN_SECRET)
 
 
    def test_that_implements_abstract_base_class(self):
         MockApi(access_token_key=ACCESS_TOKEN,
                 access_token_secret=ACCESS_TOKEN_SECRET,)
 
 

src/t/u/turses-HEAD/tests/test_api.py   turses(Download)
from turses.models import Timeline
from turses.api.base import AsyncApi
from turses.api.debug import MockApi
from turses.api.backends import TweepyApi
from turses.api.helpers import (
ACCESS_TOKEN_SECRET = 'Skull joke!'
 
mock_api = MockApi(ACCESS_TOKEN, ACCESS_TOKEN_SECRET)
 
 
    def test_that_implements_abstract_base_class(self):
         MockApi(access_token_key=ACCESS_TOKEN,
                 access_token_secret=ACCESS_TOKEN_SECRET,)
 
 

src/t/u/turses-0.2.22/turses/cli.py   turses(Download)
from turses.ui import CursesInterface
from turses.api.base import AsyncApi
from turses.api.debug import MockApi
from turses.api.backends import TweepyApi
from turses.core import Controller as Turses

src/t/u/turses-HEAD/turses/cli.py   turses(Download)
from turses.ui import CursesInterface
from turses.api.base import AsyncApi
from turses.api.debug import MockApi
from turses.api.backends import TweepyApi
from turses.core import Controller as Turses

src/t/u/turses-0.2.22/tests/test_session.py   turses(Download)
from . import create_status, create_direct_message
 
from turses.api.debug import MockApi
from turses.models import Timeline, TimelineList
from turses.session import (
 
 
mock_api = MockApi('foo', 'bar')
 
 

src/t/u/turses-HEAD/tests/test_session.py   turses(Download)
from . import create_status, create_direct_message
 
from turses.api.debug import MockApi
from turses.models import Timeline, TimelineList
from turses.session import (
 
 
mock_api = MockApi('foo', 'bar')
 
 

src/t/u/turses-0.2.22/tests/test_core.py   turses(Download)
from turses.config import configuration
from turses.core import InputHandler, Controller
from turses.api.debug import MockApi
 
 
    def setUp(self):
        self.timelines = TimelineList()
        self.controller = Controller(ui=Mock(),
                                api=MockApi('foo', 'bar'),
                                timelines=self.timelines)

src/t/u/turses-HEAD/tests/test_core.py   turses(Download)
from turses.config import configuration
from turses.core import InputHandler, Controller
from turses.api.debug import MockApi
 
 
    def setUp(self):
        self.timelines = TimelineList()
        self.controller = Controller(ui=Mock(),
                                api=MockApi('foo', 'bar'),
                                timelines=self.timelines)