Exemplo n.º 1
0
 def test_get_linter_help(self):
     utilstest.linter_test_setup()
     utilstest.test_get_linter_help(self.get_linter_instance(), self)
 def setUp(self):
     utilstest.linter_test_setup({
         "sub_lint_root":
         f"{os.path.sep}.automation{os.path.sep}test{os.path.sep}sample_project_fixes"
     })
Exemplo n.º 3
0
 def test_failure(self):
     utilstest.linter_test_setup()
     utilstest.test_linter_failure(self.get_linter_instance(), self)
Exemplo n.º 4
0
 def test_success(self):
     utilstest.linter_test_setup()
     utilstest.test_linter_success(self.get_linter_instance(), self)
Exemplo n.º 5
0
 def test_report_tap(self):
     utilstest.linter_test_setup({"report_type": "tap"})
     utilstest.test_linter_report_tap(self.get_linter_instance(), self)
Exemplo n.º 6
0
 def setUp(self):
     utilstest.linter_test_setup({
         "sub_lint_root":
         f"{os.path.sep}.automation{os.path.sep}test{os.path.sep}pre-post-test",
         "required_config_file": True,
     })
Exemplo n.º 7
0
 def setUp(self):
     utilstest.linter_test_setup({
         "sub_lint_root":
         f"{os.path.sep}.automation{os.path.sep}test{os.path.sep}mega-linter-plugin-test"
     })