173.consume tahoe lafs eliot logs by exarkun · Pull Request #174 · gridsync/gridsync
and others added 30 commits
March 26, 2019 08:45This will fail more loudly (hopefully with an AttributeError) if Tahoe itself changes somehow. Co-authored-by: Chris Wood <chris@leastauthority.com>
But give it a default so Tahoe API doesn't change. Co-authored-by: Chris Wood <chris@leastauthority.com>
Provide a better fake reactor. Mock doesn't know when to call startConnecting and I'd rather not duplicate that logic in the test method itself. MemoryReactorClock knows to do this and it fixes the problem with starting then stopping the TCP4ClientEndpoint.
pytest will load them for us automatically and so we won't need the flake8-upsetting imports from test_tahoe in test_streamedlogs. also importing library code from test modules is sad.
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