コード例 #1
0
 def test_override_severity(self, test_data_dir):
     config = Config()
     config.threshold = RuleSeverity("W")
     config.configure = ["missing-doc-test-case:severity:i"]
     test_file = test_data_dir / "override_severity" / "test.robot"
     config.paths = [str(test_file)]
     robocop_instance = Robocop(config=config)
     robocop_instance.run()
     assert not robocop_instance.reports["json_report"].issues
コード例 #2
0
def robocop_instance():
    return Robocop()
コード例 #3
0
def robocop_instance():
    return Robocop(from_cli=True)
コード例 #4
0
def robocop_instance_not_cli():
    return Robocop(from_cli=False)