

def test_init(self):
    doc = Document({
        'foo': 'bar',
    })
    assert (doc == {
        'foo': 'bar',
    })

dataset/ETHPy150Open hypothesis/h/h/api/models/test/elastic_test.py TestDocument.test_init/original