Did I find the right examples for you? yes no      Crawl my project      Python Jobs

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

src/l/i/lint-review-HEAD/tests/test_config.py   lint-review(Download)
    def test_linter_config_bad(self):
        config = ReviewConfig(bad_ini)
        res = config.linter_config('phpcs')
        eq_(res, [])
 
    def test_linter_config(self):
        config = ReviewConfig(sample_ini)
        res = config.linter_config('phpcs')
        eq_(res, expected)
 
        res = config.linter_config('not there')
        eq_(res, [])