Skip to content

Remove old Python Receiver setup unit test#91

Merged
DanGould merged 1 commit intoLtbLightning:mainfrom
arminsabouri:remove-py-receiver-unit-test
May 9, 2025
Merged

Remove old Python Receiver setup unit test#91
DanGould merged 1 commit intoLtbLightning:mainfrom
arminsabouri:remove-py-receiver-unit-test

Conversation

@arminsabouri
Copy link
Contributor

This test was written against an old version rust-payjoin and is not worth restoring. The same test case is now being covered by the Python integration test.

This test was written against an old version rust-payjoin and is not
worth restoring. The same test case is now being covered by the [Python
integration test](LtbLightning#85).
Copy link
Contributor

@DanGould DanGould left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ACK 6acaacc

@DanGould
Copy link
Contributor

DanGould commented May 9, 2025

How was python3 -m unittest --verbose test/payjoin_unit_test.py in CI passing before this change? @0xBEEFCAF3:

Check this out: The test failed but CI still passed https://github.com/LtbLightning/payjoin-ffi/actions/runs/14843323481/job/41671223662

I believe because the (now removed) test didn't call self.fail

        except Exception as e:
            return f"PayjoinError: {e}"

How do we prevent repeating this problem?

@DanGould DanGould merged commit 8ba58af into LtbLightning:main May 9, 2025
10 checks passed
@arminsabouri
Copy link
Contributor Author

@DanGould yes exactly the test just try catched the missing headers runtime error.

How do we prevent repeating this problem?

Proper codereview. This test looks like it was pushed in a WIP status and was never reviewed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants