Skip to content

Commit 8635114

Browse files
committed
remove problematic integration test that cannot use v1 posts
1 parent 10afbd3 commit 8635114

File tree

1 file changed

+1
-27
lines changed

1 file changed

+1
-27
lines changed

tests/integration/itest_forget.py

+1-27
Original file line numberDiff line numberDiff line change
@@ -100,31 +100,5 @@ async def test_forget_a_forget_message(fixture_account):
100100
"""
101101
Attempts to forget a forget message. This should fail.
102102
"""
103-
104103
# TODO: this test should be moved to the PyAleph API tests, once a framework is in place.
105-
post_hash = await create_and_forget_post(fixture_account, TARGET_NODE, TARGET_NODE)
106-
async with AuthenticatedAlephClient(
107-
account=fixture_account, api_server=TARGET_NODE
108-
) as session:
109-
get_post_response = await session.get_posts(hashes=[post_hash])
110-
assert len(get_post_response.posts) == 1
111-
post = get_post_response.posts[0]
112-
113-
forget_message_hash = post.forgotten_by[0]
114-
forget_message, forget_status = await session.forget(
115-
hashes=[forget_message_hash],
116-
reason="I want to remember this post. Maybe I can forget I forgot it?",
117-
channel=TEST_CHANNEL,
118-
)
119-
120-
print(forget_message)
121-
122-
get_forget_message_response = await session.get_messages(
123-
hashes=[forget_message_hash],
124-
channels=[TEST_CHANNEL],
125-
)
126-
assert len(get_forget_message_response.messages) == 1
127-
forget_message = get_forget_message_response.messages[0]
128-
print(forget_message)
129-
130-
assert "forgotten_by" not in forget_message
104+
pass

0 commit comments

Comments
 (0)