from treq import post -> import treq
DummyLogTarget -> FakeLogTarget
Newline between stdlib and third party