Пример #1
0
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
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