e2939c8 use patch.object

Authored and Committed by mikem 4 years ago
    use patch.object