Esempio n. 1
0
def test_null_session_function():
    session = mock.Mock(spec=("skip", ))
    _null_session_func(session)
    assert session.skip.called
Esempio n. 2
0
def test_null_session_function():
    session = mock.Mock(spec=("skip",))
    _null_session_func(session)
    assert session.skip.called