

@pytest.mark.parametrize('annotation', [Annotation({
    'created': '2016-02-25T16:45:23.371848+00:00',
}), Annotation({
    'created': '2016-02-25T16:45:23.371848',
})])
def test_created(self, annotation):
    assert (annotation.created == datetime.datetime(2016, 2, 25, 16, 45, 23, 371848))

dataset/ETHPy150Open hypothesis/h/h/api/models/test/elastic_test.py TestAnnotation.test_created/original