Skip to content

Conversation

@changli2023
Copy link

No description provided.

Copy link

@waterson waterson left a comment

Choose a reason for hiding this comment

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

I think it's good that we have these tests in the Python SDK, because -- sure, we'll want to test the Python SDK.

But won't we eventuallyl need some internal version of this that allows us to use the sparkcore APIs for more elaborate testing?

tx = wait_for_payment_completion(client, payment.id)
assert tx.status != lightspark.TransactionStatus.FAILED, "Payment failed!"
log.info(tx)
log.info("===test_funding_node1===SUCCEEDED\n")

Choose a reason for hiding this comment

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

Does this actually print out anything when running as a pytest? (Do we need it to? Isn't the fact that the test passed sufficient?)

Choose a reason for hiding this comment

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

Do we actually want to check this in to the SDK? Isn't this going to be public? Not that the keys are super secret or anything, but... seems weird that we'd put this into the SDK. For example, if we have to recreate the nodes / change keys we'll need to do an SDK release, right?

Copy link
Contributor

vdurmont commented Nov 3, 2023

runningaway

@vdurmont vdurmont removed their request for review November 3, 2023 23:57
@changli2023
Copy link
Author

The PR is closed since we do not put the pytest in the python sdk.

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.

4 participants