kopia lustrzana https://gitlab.com/jaywink/federation
Fix tests
rodzic
d981cb7811
commit
c469f74e29
|
@ -34,9 +34,10 @@ def matrix_config_func() -> Dict:
|
|||
return {
|
||||
"homeserver_base_url": "https://matrix.domain.tld",
|
||||
"homeserver_domain_with_port": "matrix.domain.tld:443",
|
||||
"homeserver_name": "domain.tld",
|
||||
"appservice": {
|
||||
"id": "uniqueid",
|
||||
"sender_localpart": "_myawesomeapp",
|
||||
"shortcode": "myawesomeapp",
|
||||
"token": "secret_token",
|
||||
},
|
||||
"identity_server_base_url": "https://id.domain.tld",
|
||||
|
|
|
@ -27,7 +27,7 @@ class TestGetBaseAttributes:
|
|||
"created_at", "name", "email", "gender", "raw_content", "location", "public",
|
||||
"nsfw", "public_key", "image_urls", "tag_list", "signature", "url", "atom_url",
|
||||
"base_url", "id", "actor_id", "handle", "handle", "guid", "activity", "activity_id", "username",
|
||||
"inboxes",
|
||||
"inboxes", "mxid",
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -15,12 +15,20 @@ def test_get_registration():
|
|||
"exclusive": False,
|
||||
"regex": "@.*",
|
||||
},
|
||||
{
|
||||
"exclusive": True,
|
||||
"regex": "@_myawesomeapp_.*",
|
||||
},
|
||||
],
|
||||
"aliases": [
|
||||
{
|
||||
"exclusive": False,
|
||||
"regex": "#.*",
|
||||
}
|
||||
},
|
||||
{
|
||||
"exclusive": True,
|
||||
"regex": "#_myawesomeapp_.*",
|
||||
},
|
||||
],
|
||||
"rooms": [],
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue