Did I find the right examples for you? yes no

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

src/p/y/python-veracity-0.0.11/veracity/test/test_vv.py   python-veracity(Download)
from veracity import vv
 
from veracity.test import TEST, FILES
 
 

src/p/y/python-veracity-0.0.11/veracity/test/test_poller.py   python-veracity(Download)
from veracity.common import Config
 
from veracity.test import TEST_REPO, REASON, FILES
from veracity.test import log, create_temp_repo, delete_temp_repo
 

src/p/y/python-veracity-0.0.11/veracity/test/test_common.py   python-veracity(Download)
from veracity.common import Config, parse_config, find_config, configure_logging
 
from veracity.test import FILES
 
 
    def test_parse_config_valid(self):
        """Verify a config can be parsed."""
        config = parse_config(os.path.join(FILES, 'setup.cfg'), False, self.error)
        self.assertEqual(['python-veracity-test'], config.repos)
 
    def test_parse_config_found(self):
        """Verify a config can be found and parsed."""
        os.chdir(FILES)
    def setUpClass(cls):
        cls.config = Config(os.path.join(FILES, 'setup.cfg'))
 
    def test_copy(self):
        """Verify a configuration can be copied."""
    def test_override(self):
        """Verify a configuration options can be overridden."""
        config = Config(os.path.join(FILES, 'setup.cfg'),
                        repos=['r1', 'r2'], series=['s1', 's2'], envs=['e1', 'e2'])
        self.assertEqual(['r1', 'r2'], config.repos)

src/p/y/python-veracity-0.0.11/veracity/test/test_builder.py   python-veracity(Download)
from veracity.common import Config
 
from veracity.test import TEST_REPO, REASON, FILES, log, create_temp_repo, delete_temp_repo