[chore] rename and remove comment
This commit is contained in:
parent
c37b0cddce
commit
8561f594e8
1 changed files with 2 additions and 4 deletions
|
@ -24,7 +24,6 @@ def test_inbox_follow_request(
|
||||||
client: TestClient,
|
client: TestClient,
|
||||||
respx_mock: respx.MockRouter,
|
respx_mock: respx.MockRouter,
|
||||||
) -> None:
|
) -> None:
|
||||||
|
|
||||||
# build test actor
|
# build test actor
|
||||||
ra = build_remote_actor()
|
ra = build_remote_actor()
|
||||||
ap_id = ra.ap_id # type: ignore
|
ap_id = ra.ap_id # type: ignore
|
||||||
|
@ -87,12 +86,11 @@ def test_inbox_follow_request(
|
||||||
assert follower_actor == None
|
assert follower_actor == None
|
||||||
|
|
||||||
|
|
||||||
def test_inbox_announce_request(
|
def test_inbox_announce_activity(
|
||||||
db: Session,
|
db: Session,
|
||||||
client: TestClient,
|
client: TestClient,
|
||||||
respx_mock: respx.MockRouter,
|
respx_mock: respx.MockRouter,
|
||||||
) -> None:
|
) -> None:
|
||||||
|
|
||||||
# build test actor
|
# build test actor
|
||||||
ra = build_remote_actor()
|
ra = build_remote_actor()
|
||||||
|
|
||||||
|
@ -154,4 +152,4 @@ def test_inbox_announce_request(
|
||||||
|
|
||||||
saved_note = db.execute(select(models.OutboxObject)).scalar_one()
|
saved_note = db.execute(select(models.OutboxObject)).scalar_one()
|
||||||
print(saved_note.ap_id)
|
print(saved_note.ap_id)
|
||||||
assert saved_note.announces_count == 1 # TODO WIP
|
assert saved_note.announces_count == 1
|
||||||
|
|
Loading…
Reference in a new issue