Did I find the right examples for you? yes no

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

src/l/e/lettuce-HEAD/tests/integration/django/grocery/features/step_definitions/grocery_steps.py   lettuce(Download)
def then_i_see_that_requesting_group1_gets_group2(step, url, status):
    world.get_url(url)
    assert_equals(int(world.last_response.code), int(status))
 
 
@step(u'Given I fetch the urls:')
def given_i_fetch_the_urls(step):
    urls = map(lambda i: django_url(i['url']), step.hashes)
    for url in urls:
        http = world.get_url(url)
def given_i_navigate_to_group1(step, url):
    world.get_url(url)
 
 
@step(u'try to resolve the assets provided by given HTML')
    for e in elements:
        url = django_url(e.attrib.get('href', e.attrib.get('src')))
        http = world.get_url(url)
        world.statuses.append((url, http.code))
        world.content_types.append((url, http.headers.dict['content-type']))

src/l/e/lettuce-HEAD/tests/integration/django/chive/features/step_definitions/steps.py   lettuce(Download)
def given_i_go_to_group1(step, url):
    world.get_url(url)
 
 
@step(u'Then I get a 404')