Reckless_Satoshi
9e442c386a
fix verify_signed_message ( #1371 )
...
verify_signed_message was not checking for the validity of the
signature. The documentation of python-gnupg is not clear about this, it
says that the fiels are set just if the signature is valid.
In this case tests/robots/1/signed_message was signed with the correct
key but with the wrong digest-algo (SHA256 instead of SHA512) as
expressed on the signature.
Running gpg --verify tests/robots/1/signed_message returned:
gpg: WARNING: signature digest conflict in message
gpg: Can't check signature: General error
and a non zero error code, but verify_signed_message was not catching
this because verified.fingerprint was set even though verified.valid was
False.
Co-authored-by: jerryfletcher21 <jerryfletcher@cock.email>
2024-10-19 18:04:50 +02:00
KoalaSat
7d7a3a39e7
Revert "Store status notifications"
2024-10-01 19:35:57 +00:00
koalasat
d14c3a6f73
new integration test pipeline
2024-09-18 09:18:11 +02:00
koalasat
7804009d2d
fix tests
2024-09-17 17:28:48 +02:00
koalasat
88054a09bb
fix tests
2024-09-17 17:00:12 +02:00
koalasat
4f2ec020a9
Store status notifications
2024-09-16 15:54:14 +02:00
koalasat
adbaa60da2
Update test comment
2024-07-09 21:39:15 +02:00
KoalaSat
3de8b7e3cc
Test trigger
2024-07-09 21:39:15 +02:00
KoalaSat
0175e73ca1
New notifications
2024-07-09 21:39:15 +02:00
KoalaSat
1757a9781a
Feat: add notifications api endpoint ( #1347 )
...
* Notifications Endpoint
* Fix tests
* CR
* Check tests
* Fix Tests
* Fix Chat
* Remove unused notifications
* Fix chat
* Fix chat
* Fix chat
2024-06-27 16:47:23 +00:00
daywalker90
62e6258f0f
Feat: fix CLN and reactivate cln integration tests ( #1336 )
...
* update cln holdinvoice plugin
DecodeBolt11 was removed in:
d51fd03390
* update CLN to v24.05 and holdinvoice to v3.0.0
* reactivate CLN integration tests
---------
Co-authored-by: jerryfletcher21 <jerryfletcher@cock.email>
2024-06-17 21:33:49 +00:00
Reckless_Satoshi
27c07e970d
feat: add tests readme
2024-06-16 21:58:44 +01:00
Reckless_Satoshi
e2902f13e7
chore: update api schema
2024-06-16 21:49:32 +01:00
jerry
9e1216628a
add robot status "Seen Recently" where missing in the documentation ( #1312 )
...
add robot status "Seen Recently" where missing
2024-06-02 08:37:38 +00:00
Reckless_Satoshi
34ef099573
Feat: add coordinator opt for geoblocked countries ( #1258 )
...
* Add location validator
* Add bad location tests
2024-04-29 22:58:03 +00:00
Reckless_Satoshi
80b97f355b
Fix order log html format error
2024-01-30 16:22:57 +00:00
Reckless_Satoshi
bc9f8ae985
Add robot hash ids to order details and robot view
2023-12-01 12:56:55 +00:00
Reckless_Satoshi
366283488a
Add rewards and automatic dispute resolution tests
2023-11-29 13:21:34 +00:00
Reckless_Satoshi
19032754aa
Add tests for frontend urls
2023-11-29 12:03:18 +00:00
Reckless_Satoshi
ddb91b1cc4
Add chat REST tests and improve doc specs
2023-11-28 17:21:27 +00:00
Reckless_Satoshi
92b041cb31
Add maker_hash_id to book response
2023-11-28 11:13:40 +00:00
Reckless_Satoshi
01c4a28dae
Refactor trade tests, add onchain payout test
2023-11-23 17:53:39 +00:00
Reckless_Satoshi
62ef86f1b4
Add order expiry tests
2023-11-22 13:16:25 +00:00
Reckless_Satoshi
6abb84ff5d
Add historical api tests
2023-11-20 14:54:04 +00:00
Reckless_Satoshi
dd7534d64a
Add order book test
2023-11-20 14:54:04 +00:00
Reckless_Satoshi
515133bb8e
Add ticks test
2023-11-20 14:54:04 +00:00
Reckless_Satoshi
b85a3d655a
Add cancel tests and api limits
2023-11-20 14:54:04 +00:00
Reckless_Satoshi
b2a130afca
Add LN payout test
2023-11-20 14:54:04 +00:00
Reckless_Satoshi
f271d59172
Add pause/unpause tests
2023-11-17 13:02:30 +00:00
Reckless_Satoshi
5674337b32
Add fiat sent/received confirmation tests. Improve API documentation
2023-11-17 13:02:30 +00:00
Reckless_Satoshi
3e0d451e97
Add tests for onchain address, pgp sign verification. Improve Dockerfile
2023-11-17 13:02:30 +00:00
Reckless_Satoshi
79a3df66a2
Add lock escrow tests
2023-11-17 13:02:30 +00:00
Reckless_Satoshi
281f1441ac
Remove unused CLN/LND mocks
2023-11-14 13:54:51 +00:00
Reckless_Satoshi
62c189ebcf
Refactor API specs latest
2023-11-14 13:54:51 +00:00
Reckless_Satoshi
3a42195bba
Fix tests failures when LND node is not used
2023-11-14 13:54:51 +00:00
Reckless_Satoshi
605a37bb87
Add CLN regtest to integration tests
2023-11-14 13:54:51 +00:00
Reckless_Satoshi
ebd0a287c3
Add dev dependencies and regtest test environments
2023-11-14 13:54:51 +00:00
Reckless_Satoshi
b4fe30e733
Add testing against API specs with assertResponse
2023-11-14 13:54:51 +00:00
Reckless_Satoshi
edd9455d7b
Add test publish and view orders
2023-11-14 13:54:51 +00:00
Reckless_Satoshi
4efc59d416
Refactor gRPC and mocks. Add coordinator info test.
2023-11-14 13:54:51 +00:00
Reckless_Satoshi
89ae6cd4a6
Add draft LND gRCP mocks
2023-11-14 13:54:51 +00:00
Reckless_Satoshi
4270f2d0a2
Add LND mock up classes
2023-11-14 13:54:51 +00:00
Reckless_Satoshi
8808ee85ae
Add order creation tests
2023-11-06 19:35:35 +00:00
Reckless_Satoshi
051c78ab9b
Add robot creation tests
2023-11-06 14:18:37 +00:00