From fffb12e66d8bd7a4a31c8c84f5f6d7734d1bb9bc Mon Sep 17 00:00:00 2001 From: jerryfletcher21 Date: Sat, 17 May 2025 15:51:15 +0200 Subject: [PATCH] fix typo in tests and update api-latest.yaml --- docs/assets/schemas/api-latest.yaml | 6 ++++++ tests/test_trade_pipeline.py | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/docs/assets/schemas/api-latest.yaml b/docs/assets/schemas/api-latest.yaml index cddc8c49..db589d41 100644 --- a/docs/assets/schemas/api-latest.yaml +++ b/docs/assets/schemas/api-latest.yaml @@ -1496,12 +1496,18 @@ components: maker_hash_id: type: string description: The maker's robot hash + maker_nostr_pubkey: + type: string + description: The maker's robot nostr hex pubkey taker_nick: type: string description: The taker's robot hash taker_hash_id: type: string description: The taker's robot hash + taker_nostr_pubkey: + type: string + description: The taker's robot nostr hex pubkey status_message: type: string description: The current status of the order corresponding to the `status` diff --git a/tests/test_trade_pipeline.py b/tests/test_trade_pipeline.py index aa78851b..82aac468 100644 --- a/tests/test_trade_pipeline.py +++ b/tests/test_trade_pipeline.py @@ -124,7 +124,7 @@ class TradeTest(BaseAPITestCase): f"Robot created nickname is not {nickname}", ) self.assertEqual( - data["public_key"], pub_key, "Returned public Kky does not match" + data["public_key"], pub_key, "Returned public key does not match" ) self.assertEqual( data["encrypted_private_key"],