def test_verify_content_md5_invalid():
    """A request with a body that does not match Content-MD5 returns 400."""
    app = wsgiservice.get_app(globals())
    req = Request.blank('/res1/theid', {
        'HTTP_CONTENT_MD5': '89d5739baabbbe65be35cbe61c88e06d',
        'wsgi.input': StringIO.StringIO('foobar')})
    res = app._handle_request(req)
    print res
    print res.status
    print res._headers
    assert res._headers not in 'ETag'
    assert 'Last-Modified' not in res._headers
    assert res.status == '400 Bad Request'
    assert res.body == '<response><error>Invalid Content-MD5 request ' \
        'header.</error></response>'
dataset/ETHPy150Open pneff/wsgiservice/tests/test_application.py/test_verify_content_md5_invalid/swapped operands of `not in`