音楽で楽しみましょう!-Let's have fun with music!-
Signed-off-by: Shin'ya Minazuki <shinyoukai@laidback.moe>
This commit is contained in:
parent
7c3206bf83
commit
54c6d22102
517 changed files with 637 additions and 639 deletions
|
|
@ -145,7 +145,7 @@ def test_migrate_to_user_libraries_generate_fids(
|
|||
if i == 0:
|
||||
assert o.fid == existing_fid
|
||||
else:
|
||||
assert o.fid == template.format(settings.FUNKWHALE_URL, path, o.uuid)
|
||||
assert o.fid == template.format(settings.FUNQUAIL_URL, path, o.uuid)
|
||||
# we also ensure the path we insert match the one that is generated
|
||||
# by the app on objects creation, as a safe guard for typos
|
||||
assert base_path == o.fid.replace(str(o.uuid), "")
|
||||
|
|
@ -175,7 +175,7 @@ def test_migrate_to_user_libraries_generate_actor_urls(
|
|||
|
||||
assert getattr(local, field) is None
|
||||
expected = "{}/federation/actors/{}/{}".format(
|
||||
settings.FUNKWHALE_URL, local.preferred_username, part
|
||||
settings.FUNQUAIL_URL, local.preferred_username, part
|
||||
)
|
||||
ok_url = getattr(ok, field)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue