in python2.7 mock is third-party library, so this import should be at the same "level" as import from django etc (definitely not with imports from stdlib)