Patrick Mulligan
d2350f907d
test: wait for messages instead of sleeping in the client flow
...
test_alice_and_bob paused for fixed 0.1-0.5 s between wiring events
and asserting on the replies. On a slow runner the replies were not
there yet; on a fast one the next step ran before the previous event
was stored. Both show up as spurious failures (CI on #45 , 2026-09-13).
Give the mock socket a wait_for_messages(count) helper and wait for
the expected number of messages at each step instead. Exact-count
assertions stay, so extra messages still fail.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_013Tbyw6FwjhEJg3gHfPHxWt
(cherry picked from commit deb6510193b68f343c2f7845c615634beb020911)
2026-09-13 17:53:43 +02:00
dni ⚡
35584a230f
chore: add uv, linting, fixes ( #39 )
...
* chore: add uv, linting, fixes
2025-10-30 10:43:27 +01:00
Vlad Stan
3dc066fbd4
[fix] Ws api tests ( #31 )
/ release (push) Has been cancelled
/ pullrequest (push) Has been cancelled
2024-11-11 15:25:25 +02:00
dni ⚡
cc6752003a
feat: improve codequality and CI ( #25 )
...
* feat: improve codequality and CI
2024-08-30 13:20:23 +02:00
Vlad Stan
7ec3045130
feat: add extension clean-up endpoint
2023-02-17 14:57:31 +02:00
Vlad Stan
230729483c
chore: code format
2023-02-17 14:44:39 +02:00
Vlad Stan
855812cb8f
refactor: extract NostrRelay
2023-02-17 14:44:39 +02:00
Vlad Stan
2ebc83a286
refactor: extract NostrFilter
2023-02-17 14:44:39 +02:00
Vlad Stan
c42d81f696
refactor: extract client_connection
2023-02-17 14:44:39 +02:00
Vlad Stan
aa68d2a79a
refactor: extract EventValidator
2023-02-17 14:44:39 +02:00
Vlad Stan
c46c903703
refactor: move client-manager
2023-02-17 14:44:39 +02:00
Vlad Stan
d5d8b5e1b5
refactor: init callbacks
2023-02-17 14:44:39 +02:00
Vlad Stan
bc1af610db
chore: mypy fixes
2023-02-15 18:18:46 +02:00
Vlad Stan
d5aff47717
refactor: class renamings
2023-02-10 13:40:15 +02:00
Vlad Stan
1eda457067
chore: force py format
2023-02-10 12:16:25 +02:00
Vlad Stan
534cf04210
feat: use RelayConfig for active relays
2023-02-08 10:21:26 +02:00
Vlad Stan
4e5c2657c9
chore: code format
2023-02-08 08:50:07 +02:00
Vlad Stan
14df3a6ffb
tests: update after changes
2023-02-07 18:15:43 +02:00
Vlad Stan
5a747361af
feat: make event kind: 3 replaceable
2023-02-06 12:09:53 +02:00
Vlad Stan
10ef9ee2ac
feat: on meta update, replace old meta
2023-02-06 11:10:14 +02:00
Vlad Stan
01764c155e
feat: add delete post tests
2023-02-03 15:45:23 +02:00
Vlad Stan
6b11221205
test: direct messages
2023-02-03 11:32:44 +02:00
Vlad Stan
30ed35a14e
test: bob writes direct message to alice
2023-02-03 11:07:17 +02:00
Vlad Stan
96f8f9927d
refactor: method renames
2023-02-03 10:21:11 +02:00
Vlad Stan
c4b498c28c
refactor: make code more readable
2023-02-03 10:14:28 +02:00
Vlad Stan
3d1511a545
refactor: extract fixtures
2023-02-03 09:58:50 +02:00
Vlad Stan
f183027811
fix: missing param
2023-02-03 09:48:16 +02:00
Vlad Stan
78de195354
test: notifications
2023-02-03 09:47:12 +02:00
Vlad Stan
e87d43d21a
test: bob_reacts_to_posts_alice_receives_notifications
2023-02-03 09:23:43 +02:00
Vlad Stan
4766e8daaf
test: notify likes
2023-02-02 18:43:46 +02:00
Vlad Stan
cae1bb146a
test: notifications
2023-02-02 17:20:35 +02:00
Vlad Stan
f96945c694
test: follow Alice
2023-02-02 16:53:01 +02:00
Vlad Stan
841b8d6ea4
test: more fixtures
2023-02-02 16:27:06 +02:00
Vlad Stan
f6c92a5ccf
test: first fixtures
2023-02-02 15:15:13 +02:00
Vlad Stan
90cdfc61fb
test: wip
2023-02-02 11:32:29 +02:00