def test_init_uses_the_document_web_uri(self, db_session, document):
    document.web_uri = 'http://example.com'
    bucket = bucketing.DocumentBucket(document)
    assert (bucket.uri == 'http://example.com')
def test_init_uses_the_document_web_uri(self, db_session, document):
    document.web_uri = 'http://example.com'
    bucket = bucketing.DocumentBucket(document)
    assert (bucket.uri == 'http://example.com')