summary refs log tree commit diff
path: root/tests/util/test_file_consumer.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Make tests py3 compatibleAdrian Tschira2018-04-161-1/+1
| | | | | | | | | | | This is a mixed commit that fixes various small issues * print parentheses * 01 is invalid syntax (it was octal in py2) * [x for i in 1, 2] is invalid syntax * six moves Signed-off-by: Adrian Tschira <nota@notafile.com>
* Move test stuff to testsErik Johnston2018-01-181-8/+46
|
* Add decent impl of a FileConsumerErik Johnston2018-01-171-0/+138
Twisted core doesn't have a general purpose one, so we need to write one ourselves. Features: - All writing happens in background thread - Supports both push and pull producers - Push producers get paused if the consumer falls behind