Esempio n. 1
0
def test_response_header_facets():
    h = (('server', 'Foo'), )
    facets = facet.facets_from_response_headers(h)
    assert facets == [('header-server', 'Foo')]
Esempio n. 2
0
def test_response_header_facets():
    h = (('server', 'Foo'),)
    facets = facet.facets_from_response_headers(h)
    assert facets == [('header-server', 'Foo')]