Did I find the right examples for you? yes no

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

src/p/y/python-veracity-0.0.11/veracity/test/test_poller.py   python-veracity(Download)
import os
 
from veracity.poller import Poller, run
from veracity.objects import Changeset, Branch
from veracity.common import Config
    def test_from_config(self):
        """Verify a poller can be created from a config."""
        poller1 = Poller(TEST_REPO.name, Config(series=['N']))
        poller2 = Poller(TEST_REPO.name, Config(series=['N']))
        poller3 = Poller(TEST_REPO.name, Config(series=['C']))