Did I find the right examples for you? yes no

All Samples(9)  |  Call(6)  |  Derive(0)  |  Import(3)

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_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_branches(self):
        """Verify the branches list can be retrieved from a changeset."""
        cs = Changeset(self.DICTIONARY)
        log(cs)
        self.assertEqual(1, len(cs.branches))
        self.assertIn('master', cs.branches)
 
    def test_tags(self):
        """Verify the tags list can be retrieved from a changeset."""
        cs = Changeset(self.DICTIONARY)
    def test_eq(self):
        """Verify changests can be compared."""
        cs1 = Changeset('abc123', repo=TEST_REPO)
        cs2 = Changeset('abc123', repo=TEST_REPO.name)
        cs3 = Changeset('abc123', repo=None)

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