def test_user_id_exists_not(self): exists, ref = UsersDb.user_id_exists('NoneExistingIdlskjdfklsdjfljs') assert exists == False assert ref == None
def test_user_id_exists(self): exists, ref = UsersDb.user_id_exists(TEST_USER_ID) assert exists == True assert ref.get().id == TEST_USER_ID