Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(5)  |  Call(4)  |  Derive(0)  |  Import(1)

src/s/p/sphinx-git-HEAD/tests/test_git_changelog.py   sphinx-git(Download)
from mock import ANY, call, Mock
 
from tests.assertions import (
    assert_equal,
    assert_greater,
        assert_equal(10, len(l.findAll('list_item')))
        for n, child in zip(range(15, 5), l.childGenerator()):
            assert_in('commit #{0}'.format(n), child.text)
        assert_not_in('commit #4', l.text)
 
        assert_equal(5, len(l.findAll('list_item')))
        for n, child in zip(range(15, 10), l.childGenerator()):
            assert_in('commit #{0}'.format(n), child.text)
        assert_not_in('commit #9', l.text)
 
        first_element = children[0]
        second_element = children[1]
        assert_in('last commit', first_element.text)
        assert_in('after tag', second_element.text)