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

All Samples(6)  |  Call(4)  |  Derive(0)  |  Import(2)
Widget containing a Twitter status.

src/t/u/turses-0.2.22/tests/test_ui.py   turses(Download)
import unittest
 
from turses.ui import StatusWidget, map_attributes, parse_attributes
from tests  import create_status, create_direct_message
 
    def test_create_with_status(self):
        # load the defaults
        status = create_status()
        StatusWidget(status)
 
    def test_create_with_direct_message(self):
        # load the defaults
        direct_message = create_direct_message()
        StatusWidget(direct_message)

src/t/u/turses-HEAD/tests/test_ui.py   turses(Download)
import unittest
 
from turses.ui import StatusWidget, map_attributes, parse_attributes
from tests  import create_status, create_direct_message
 
    def test_create_with_status(self):
        # load the defaults
        status = create_status()
        StatusWidget(status)
 
    def test_create_with_direct_message(self):
        # load the defaults
        direct_message = create_direct_message()
        StatusWidget(direct_message)