def test_null_session_function(): session = mock.Mock(spec=("skip", )) _null_session_func(session) assert session.skip.called
def test_null_session_function(): session = mock.Mock(spec=("skip",)) _null_session_func(session) assert session.skip.called