From cb7a7439c3017684d5d863308eaf260ec335d0a1 Mon Sep 17 00:00:00 2001 From: Russell Ballestrini Date: Wed, 24 Sep 2025 22:35:32 -0400 Subject: [PATCH] Fix crypto watcher tests for new CryptoPayment constructor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Add missing user and shop parameters to CryptoPayment constructor calls in tests - Resolves TypeError: missing required positional arguments 'user' and 'shop' 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- make_post_sell/tests/test_crypto_watcher.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/make_post_sell/tests/test_crypto_watcher.py b/make_post_sell/tests/test_crypto_watcher.py index 561f5ab..85a8ddb 100644 --- a/make_post_sell/tests/test_crypto_watcher.py +++ b/make_post_sell/tests/test_crypto_watcher.py @@ -191,6 +191,8 @@ class CryptoWatcherIntegrationTests(unittest.TestCase): # Create test crypto payment self.test_payment = CryptoPayment( invoice=self.test_invoice, + user=self.test_invoice.user, + shop=self.test_invoice.shop, address="test_xmr_address", account_index=0, subaddress_index=1, @@ -275,6 +277,8 @@ class CryptoWatcherIntegrationTests(unittest.TestCase): payment = CryptoPayment( invoice=invoice, + user=invoice.user, + shop=invoice.shop, address="test_address2", account_index=0, subaddress_index=2, @@ -342,6 +346,8 @@ class CryptoWatcherIntegrationTests(unittest.TestCase): payment = CryptoPayment( invoice=invoice, + user=invoice.user, + shop=invoice.shop, address="test_cart_address", account_index=0, subaddress_index=1,