Wolf480pl on Nostr: def assertNoMoreMessages(self): [...] self.send(b"ping %s" % nonce) #FIXME: this is ...
def assertNoMoreMessages(self):
[...]
self.send(b"ping %s" % nonce) #FIXME: this is non-standard
self.assertRecv(b"pong %s" % nonce)
yup turns out back then I also figured out some things can't be tested without a ping
Published at
2024-12-20 18:50:36Event JSON
{
"id": "7139e7c7ce3cb2dbc3ecaa569aff443f00e38b8a29fbc164b952b36d6e924a14",
"pubkey": "f3eaf89270fc0355ce2a91d69bca71c340a0a38b7c833b8ff837e8aaa0c98e82",
"created_at": 1734720636,
"kind": 1,
"tags": [
[
"e",
"7cf0938e96db8d4182bcbcf66bf40fafc3f73482d25a54f4ee306d544d6be08e",
"wss://relay.mostr.pub",
"reply"
],
[
"t",
"fixme"
],
[
"proxy",
"https://mstdn.io/users/wolf480pl/statuses/113686651645823819",
"activitypub"
]
],
"content": "def assertNoMoreMessages(self):\n [...]\n self.send(b\"ping %s\" % nonce) #FIXME: this is non-standard\n self.assertRecv(b\"pong %s\" % nonce)\n\nyup turns out back then I also figured out some things can't be tested without a ping",
"sig": "4b67120e320b6e9fb34a05760b3187fd8adfe11587a0e37b771b769594e622bcbe4471c4905fa812fc0f7075686aa65cfb9c256e4952abc02fa26f89733cc284"
}