mirror of
https://code.eliotberriot.com/funkwhale/funkwhale.git
synced 2025-10-04 17:19:16 +02:00
See #170: admin UI for channels, reporting channels
This commit is contained in:
parent
ae52969efe
commit
102c90d499
32 changed files with 1106 additions and 77 deletions
|
@ -207,3 +207,9 @@ def test_get_obj_by_fid(factory_name, factories):
|
|||
obj = factories[factory_name]()
|
||||
factories[factory_name]()
|
||||
assert utils.get_object_by_fid(obj.fid) == obj
|
||||
|
||||
|
||||
def test_get_channel_by_fid(factories):
|
||||
obj = factories["audio.Channel"]()
|
||||
factories["audio.Channel"]()
|
||||
assert utils.get_object_by_fid(obj.actor.fid) == obj
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue