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/lintreview/tasks.py   lint-review(Download)
        processor = Processor(gh, number, pr_head, target_path, config)
        processor.load_changes()
        processor.run_tools(review_config)
        processor.publish()
 

src/l/i/lint-review-HEAD/tests/test_processor.py   lint-review(Download)
    def test_run_tools__no_changes(self):
        subject = Processor(None, 1, '123abc', './tests')
        subject.run_tools(None)
 
    @patch('lintreview.processor.tools')
    def test_run_tools(self, tool_stub):
        stub = Mock()
        subject = Processor(None, 1, '123abc', './tests')
        subject._changes = Mock()
        subject.run_tools(stub)