예제 #1
0
 def test_failure(self, tmp_path, config):
     # Not having the entry_point fixture makes this fail
     with pytest.raises(PluginValidationError):
         ConfigLoader._validate(config, tmp_path)
예제 #2
0
 def test_success(self, tmp_path, config, entry_point):
     assert ConfigLoader._validate(config, tmp_path) is None