Use mock.patch and mocks instead of hand rolling everything, *KRALL*.