Skip to content

Convert gridsync/tahoe.py to async def#526

Merged
crwood merged 22 commits into
gridsync:masterfrom
exarkun:523.tahoe-async-def
Aug 9, 2022
Merged

Convert gridsync/tahoe.py to async def#526
crwood merged 22 commits into
gridsync:masterfrom
exarkun:523.tahoe-async-def

Conversation

@exarkun

@exarkun exarkun commented Aug 8, 2022

Copy link
Copy Markdown
Contributor

Fixes #523

Please note test_tahoe_stop_locked. I'm not sure if this kind of global reactor interaction is correct with pytest_twisted, and even if so if it is the preferred style in GridSync's tests. However, I'm also not sure what else to do there.

The commits are almost all self-contained changesets that address one function from tahoe.py completely throughout the codebase, in case that helps with review.

@crwood crwood left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This all looks good to me -- thank you so much!

(And thank you, especially, for getting rid of some of those Mocks)

@crwood crwood merged commit a84865b into gridsync:master Aug 9, 2022
@exarkun exarkun deleted the 523.tahoe-async-def branch August 9, 2022 21:27
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.

Remove inlineCallbacks usage from tahoe.py

2 participants