mocking in python, set up initial test of login

test calls login with an assertion