mirror of
https://github.com/pewdiepie-archdaemon/odysseus.git
synced 2026-10-31 10:12:21 +01:00
test(gallery): enable local image models in the bad-input test
This commit is contained in:
@@ -17,6 +17,8 @@ def route(name):
|
||||
|
||||
def call(name, monkeypatch, body):
|
||||
monkeypatch.setattr(gallery, 'require_privilege', lambda *args: 'alice')
|
||||
monkeypatch.setattr(gallery, '_local_image_models_enabled', lambda: True)
|
||||
monkeypatch.setattr(gallery, '_remote_image_ops_base', lambda: '')
|
||||
|
||||
class Request:
|
||||
async def json(self):
|
||||
|
||||
Reference in New Issue
Block a user