-
-
Notifications
You must be signed in to change notification settings - Fork 371
test: add tests for alby #2390
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
test: add tests for alby #2390
Changes from all commits
Commits
Show all changes
59 commits
Select commit
Hold shift + click to select a range
5b3416d
test: initial commit
motorina0 47f8a48
chore: code format
motorina0 c94111a
fix: comment out bad `status.pending` (to be fixed in core)
motorina0 5544ec7
fix: 404 tests
motorina0 824cca1
test: extract first `create_invoice` test
motorina0 5196457
chore: reminder
motorina0 52f5ea5
add: error test
motorina0 6264396
chore: experiment
motorina0 bf09344
feat: adapt parsing
motorina0 8024bf8
refactor: data structure
motorina0 fa64312
fix: some tests
motorina0 1ed6e88
fix: make response uniform
motorina0 f35c8a8
fix: test data
motorina0 654a15f
chore: clean-up
motorina0 73f7f3b
fix: uniform responses
motorina0 c21d69a
fix: user agent
motorina0 95affec
fix: user agent
motorina0 5293f3c
fix: user-agent again
motorina0 9852793
test: add `with error` test
motorina0 5ae01f2
feat: customize test name
motorina0 4deb564
fix: better exception handling for `status`
motorina0 e4a7061
fix: add `try-catch` for `raise_for_status`
motorina0 5f5519f
test: with no mocks
motorina0 0f7bdb6
chore: clean-up generalized tests
motorina0 695425c
chore: code format
motorina0 26e6370
chore: code format
motorina0 8d77ecb
chore: remove extracted tests
motorina0 f10cc40
test: add `create_invoice`: error test
motorina0 b0bedd5
add: test for `create_invoice` with http 404
motorina0 e995cda
test: extract `test_pay_invoice_ok`
motorina0 e38aee4
test: extract `test_pay_invoice_error_response`
motorina0 2ddfd35
test: extract `test_pay_invoice_http_404`
motorina0 a22fcd6
test: add "missing data"
motorina0 40ce5a4
test: add `bad-json`
motorina0 4e3c7aa
test: add `no mocks` for `create_invoice`
motorina0 0a7bbc2
test: add `no mocks` for `pay_invoice`
motorina0 8f9ff60
test: add `bad json` tests
motorina0 19bce42
chore: re-order tests
motorina0 fda9c0b
test: add `missing data` test for `pay_imvoice`
motorina0 d8d49bc
chore: re-order tests
motorina0 ad7ad47
test: add `success` test for `get_invoice_status `
motorina0 e65a840
feat: update test structure
motorina0 00d0a73
test: new status
motorina0 e56114d
test: add more test
motorina0 96e67ed
chore: code clean-up
motorina0 cd7fcf5
test: add success test for `get_payment_status `
motorina0 7091d48
test: add `pending` tests for `check_payment_status`
motorina0 2027712
chore: remove extracted tests
motorina0 c38f06f
test: add more tests
motorina0 c234434
test: add `no mocks` test
motorina0 092aa4f
fix: funding source loading
motorina0 ec2db50
refactor: start to extract data model
motorina0 417ac4f
chore: final clean-up
motorina0 ecc595c
chore: rename file
motorina0 2490d76
test: add tests for alby
motorina0 154c309
refactor: `KeyError` handling
motorina0 8b2b219
chore: log error
motorina0 0339bc0
chore: skip the negative fee test
motorina0 2f8c382
fix: error message fetching
motorina0 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cc: @bitkarrot ☝️
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the fee value returned by Alby is positive.