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