7c293ae Fix tests to compile under Python 3.5

Authored and Committed by zbyszek 8 years ago
    Fix tests to compile under Python 3.5
    
    Stricter checking of names introduced in mock in 3.5 exposed
    an error in tests.