def test_init_sets_None_uri_when_no_http_or_https_can_be_found(self, db_session, document):
    document.web_uri = None
    bucket = bucketing.DocumentBucket(document)
    assert (bucket.uri is None)
def test_init_sets_None_uri_when_no_http_or_https_can_be_found(self, db_session, document):
    document.web_uri = None
    bucket = bucketing.DocumentBucket(document)
    assert (bucket.uri is None)