コード例 #1
0
ファイル: test_session.py プロジェクト: bug3306/WeRoBot
def test_session_storage_delete():
    session = SessionStorage()
    with pytest.raises(NotImplementedError):
        session.delete('s')

    with pytest.raises(NotImplementedError):
        del session['s']
コード例 #2
0
def test_session_storage_delete():
    session = SessionStorage()
    with pytest.raises(NotImplementedError):
        session.delete('s')

    with pytest.raises(NotImplementedError):
        del session['s']
コード例 #3
0
ファイル: test_session.py プロジェクト: guoyanshuai/WeRoBot
def test_session_storage_delete():
    session = SessionStorage()
    session.delete('s')