Did I find the right examples for you? yes no

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

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_init(self):
        """Verify a user can be created."""
        user = User('_tempuser', repo=TEMP_REPO)
        self.assertEqual('_tempuser', user)
    def test_repo_rename_user(self):
        """Verify a user can be renamed."""
        u = User('testuser', repo=TEMP_REPO)
        u = u.rename('testuser2')
    def test_repo_activate_user(self):
        """Verify a user can be deactivated and activated."""
        u = User('testuser', repo=TEMP_REPO)
        u.deactivate()  # redundant