[mastodon] fix handling null 'moved' account field

This commit is contained in:
blankie
2024-03-12 11:44:25 +11:00
parent 71cf08af4b
commit 225d849139
2 changed files with 16 additions and 1 deletions

View File

@@ -18,4 +18,15 @@ __tests__ = (
"instance_remote": None,
},
{
"#url" : "mastodon:https://wanderingwires.net/@quarc/9qppkxzyd1ee3i9p",
"#comment" : "null moved account",
"#category": ("mastodon", "wanderingwires.net", "status"),
"#class" : mastodon.MastodonStatusExtractor,
"#urls" : "https://s3.wanderingwires.net/null/4377e826-72ab-4659-885c-fa12945eb207.png",
"instance": "wanderingwires.net",
"instance_remote": None,
},
)