18 lines
382 B
Python
18 lines
382 B
Python
#!/usr/bin/env python3
|
|
from tests import factories
|
|
from app.main import app
|
|
from app.utils import precheck
|
|
|
|
|
|
|
|
def build_remote_actor():
|
|
ra = factories.RemoteActorFactory(
|
|
base_url="https://example.com",
|
|
username="test",
|
|
public_key="pk",
|
|
)
|
|
|
|
app.dependency_overrides[precheck.inbox_prechecker] = \
|
|
factories.inbox_prechecker
|
|
|
|
return ra
|