Did I find the right examples for you? yes no

All Samples(8)  |  Call(5)  |  Derive(0)  |  Import(3)

src/p/y/python-veracity-0.0.11/veracity/test/test_objects.py   python-veracity(Download)
from veracity.objects import identify, keywords
from veracity.objects import Repository, WorkingCopy, Item
from veracity.objects import Changeset, Branch, Tag, Stamp, User
from veracity.objects import BuildRequest
 
    def test_repo_close_open_branch(self):
        """Verify a branch can be closed and opened"""
        b = Branch('master', repo=TEMP_REPO, branch='master')
        b.close()
        try:
    def test_eq(self):
        """Verify branches can be compared."""
        b1 = Branch('a', repo=TEMP_REPO, rev=1)
        b2 = Branch('b', repo=TEMP_REPO, rev=1)
        b3 = Branch('b', repo=None, rev=1)

src/p/y/python-veracity-0.0.11/veracity/__init__.py   python-veracity(Download)
    from veracity.vv import repos, run as run_vv
    from veracity.objects import Repository, WorkingCopy
    from veracity.objects import Item, Changeset, Branch, Stamp, Tag, User
    from veracity.objects import BuildRequest
except (ImportError, EnvironmentError) as error:  # pragma: no cover, installation

src/p/y/python-veracity-0.0.11/veracity/test/test_poller.py   python-veracity(Download)
 
from veracity.poller import Poller, run
from veracity.objects import Changeset, Branch
from veracity.common import Config