Did I find the right examples for you? yes no

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

src/p/y/python-veracity-0.0.11/veracity/test/test_objects.py   python-veracity(Download)
    def test_repo_activate_user(self):
        """Verify a user can be deactivated and activated."""
        u = User('testuser', repo=TEMP_REPO)
        u.deactivate()
        u.deactivate()  # redundant