Пример #1
0
    def test_document_uri_self_claim(self):
        claimant = "http://localhost:5000/docs/help"

        document_uri = document_claims.document_uri_self_claim(claimant)

        assert document_uri == {
            "claimant": claimant,
            "uri": claimant,
            "type": "self-claim",
            "content_type": "",
        }
Пример #2
0
    def test_document_uri_self_claim(self):
        claimant = 'http://localhost:5000/docs/help'

        document_uri = document_claims.document_uri_self_claim(claimant)

        assert document_uri == {
            'claimant': claimant,
            'uri': claimant,
            'type': 'self-claim',
            'content_type': '',
        }
Пример #3
0
    def test_document_uri_self_claim(self):
        claimant = 'http://localhost:5000/docs/help'

        document_uri = document_claims.document_uri_self_claim(
            claimant)

        assert document_uri == {
            'claimant': claimant,
            'uri': claimant,
            'type': 'self-claim',
            'content_type': '',
        }