File tree 1 file changed +1
-27
lines changed
1 file changed +1
-27
lines changed Original file line number Diff line number Diff line change @@ -100,31 +100,5 @@ async def test_forget_a_forget_message(fixture_account):
100
100
"""
101
101
Attempts to forget a forget message. This should fail.
102
102
"""
103
-
104
103
# 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
You can’t perform that action at this time.
0 commit comments