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

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

src/l/a/lai-client-HEAD/lai/app.py   lai-client(Download)
        _print_search(rs, id_key='sid')
    else:
        rs = client.search(args.regex)
        _print_search(rs, id_key='id')
 

src/l/a/lai-client-HEAD/tests/test_client.py   lai-client(Download)
    def test_search_empty(self):
        database = mock()
        when(database).search('').thenReturn([])
        client = Client(database)
        result = client.search('')