[chore] rename and remove comment

This commit is contained in:
SouthFox 2023-05-08 12:07:50 +08:00
parent c37b0cddce
commit 8561f594e8

View file

@ -24,7 +24,6 @@ def test_inbox_follow_request(
client: TestClient,
respx_mock: respx.MockRouter,
) -> None:
# build test actor
ra = build_remote_actor()
ap_id = ra.ap_id # type: ignore
@ -87,12 +86,11 @@ def test_inbox_follow_request(
assert follower_actor == None
def test_inbox_announce_request(
def test_inbox_announce_activity(
db: Session,
client: TestClient,
respx_mock: respx.MockRouter,
) -> None:
# build test actor
ra = build_remote_actor()
@ -154,4 +152,4 @@ def test_inbox_announce_request(
saved_note = db.execute(select(models.OutboxObject)).scalar_one()
print(saved_note.ap_id)
assert saved_note.announces_count == 1 # TODO WIP
assert saved_note.announces_count == 1