Exemple #1
0
def test_archival_to_version(expected, data):
    config = Configuration()
    version = archival_to_version(data, config=config)
    assert (
        format_version(
            version, version_scheme="guess-next-dev", local_scheme="node-and-date"
        )
        == expected
    )
def test_archival_to_version(expected, data):
    version = archival_to_version(data)
    assert format_version(version,
                          version_scheme='guess-next-dev',
                          local_scheme='node-and-date') == expected
def test_archival_to_version(expected, data):
    version = archival_to_version(data)
    assert format_version(
        version,
        version_scheme='guess-next-dev',
        local_scheme='node-and-date') == expected
def test_archival_to_version(expected, data):
    version = archival_to_version(data)
    assert (format_version(version,
                           version_scheme="guess-next-dev",
                           local_scheme="node-and-date") == expected)