コード例 #1
0
ファイル: test_init.py プロジェクト: Janaba/adhocracy3
def test_create_changelog_mapping():
    from adhocracy_core.changelog import create_changelog
    from adhocracy_core.changelog import changelog_meta
    from collections import defaultdict
    changelog = create_changelog()
    assert changelog['/'] == changelog_meta
コード例 #2
0
def test_create_changelog_mapping():
    from adhocracy_core.changelog import create_changelog
    from adhocracy_core.interfaces import changelog_meta
    from collections import defaultdict
    changelog = create_changelog()
    assert changelog['/'] == changelog_meta
コード例 #3
0
ファイル: test_init.py プロジェクト: Janaba/adhocracy3
def test_create_changelog():
    from adhocracy_core.changelog import create_changelog
    from collections import defaultdict
    assert type(create_changelog()) is defaultdict
コード例 #4
0
def test_create_changelog():
    from adhocracy_core.changelog import create_changelog
    from collections import defaultdict
    assert type(create_changelog()) is defaultdict