コード例 #1
0
def test_get_commit_links_from_yaml_is_sorted():
    ret = _get_commit_links_from_yaml({'a': '1', 'b': '2', 'c': '3', 'd': '4'})
    assert ret == (('a', '1'), ('b', '2'), ('c', '3'), ('d', '4'))
コード例 #2
0
def test_get_commit_links_from_yaml_one_entry():
    assert _get_commit_links_from_yaml({'foo': 'bar'}) == (('foo', 'bar'),)
コード例 #3
0
def test_get_commit_links_from_yaml_empty():
    assert _get_commit_links_from_yaml({}) == ()
コード例 #4
0
def test_get_commit_links_from_yaml_is_sorted():
    ret = _get_commit_links_from_yaml({'a': '1', 'b': '2', 'c': '3', 'd': '4'})
    assert ret == (('a', '1'), ('b', '2'), ('c', '3'), ('d', '4'))
コード例 #5
0
def test_get_commit_links_from_yaml_one_entry():
    assert _get_commit_links_from_yaml({'foo': 'bar'}) == (('foo', 'bar'), )
コード例 #6
0
def test_get_commit_links_from_yaml_empty():
    assert _get_commit_links_from_yaml({}) == ()