コード例 #1
0
ファイル: test_errors.py プロジェクト: ra2003/urubu
def test_no_index():
    with cd('no_index'):
        with raises_kind(UrubuError, _error.no_index):
            project.build()
コード例 #2
0
ファイル: test_errors.py プロジェクト: ra2003/urubu
def test_undef_layout():
    with cd('undef_layout'):
        with raises_kind(UrubuError, _error.undef_info):
            project.build()
コード例 #3
0
ファイル: test_errors.py プロジェクト: ra2003/urubu
def test_undef_ref():
    with cd('undef_ref'):
        with raises_kind(UrubuError, _error.undef_ref):
            project.build()
コード例 #4
0
ファイル: test_errors.py プロジェクト: ra2003/urubu
def test_undef_key():
    with cd('undef_key'):
        with raises_kind(UrubuError, _error.undef_key):
            project.build()
コード例 #5
0
ファイル: test_errors.py プロジェクト: ra2003/urubu
def test_undef_reflink_title():
    with cd('undef_reflink_title'):
        with raises_kind(UrubuError, _error.undef_reflink_key):
            project.build()
コード例 #6
0
ファイル: test_errors.py プロジェクト: ra2003/urubu
def test_date_format():
    with cd('date_format'):
        with raises_kind(UrubuError, _error.date_format):
            project.build()
コード例 #7
0
ファイル: test_errors.py プロジェクト: ra2003/urubu
def test_undef_content():
    with cd('undef_content'):
        with raises_kind(UrubuError, _error.undef_content):
            project.build()
コード例 #8
0
ファイル: test_errors.py プロジェクト: simudream/urubu
def test_undef_ref():
    with cd('undef_ref'):
        with raises_kind(UrubuError, _error.undef_ref):
            project.build()
コード例 #9
0
ファイル: test_errors.py プロジェクト: ra2003/urubu
def test_ambig_ref():
    with cd('ambig_ref'):
        with raises_kind(UrubuError, _error.ambig_ref):
            project.build()
コード例 #10
0
ファイル: test_errors.py プロジェクト: simudream/urubu
def test_undef_reflink_title():
    with cd('undef_reflink_title'):
        with raises_kind(UrubuError, _error.undef_reflink_key):
            project.build()
コード例 #11
0
ファイル: test_errors.py プロジェクト: simudream/urubu
def test_undef_layout():
    with cd('undef_layout'):
        with raises_kind(UrubuError, _error.undef_info):
            project.build()
コード例 #12
0
ファイル: test_errors.py プロジェクト: simudream/urubu
def test_undef_key():
    with cd('undef_key'):
        with raises_kind(UrubuError, _error.undef_key):
            project.build()
コード例 #13
0
ファイル: test_errors.py プロジェクト: simudream/urubu
def test_undef_content():
    with cd('undef_content'):
        with raises_kind(UrubuError, _error.undef_content):
            project.build()
コード例 #14
0
ファイル: test_errors.py プロジェクト: simudream/urubu
def test_date_format():
    with cd('date_format'):
        with raises_kind(UrubuError, _error.date_format):
            project.build()
コード例 #15
0
ファイル: test_errors.py プロジェクト: simudream/urubu
def test_ambig_ref():
    with cd('ambig_ref'):
        with raises_kind(UrubuError, _error.ambig_ref):
            project.build()
コード例 #16
0
ファイル: test_errors.py プロジェクト: ayenzky/urubu
def test_no_index():
    with cd('no_index'):
        with raises_kind(UrubuError, _error.no_index):
            project.build()