mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 21:32:49 +00:00
CI: Temporarily skip failing callback unit tests for ansible-core 2.21+ (#11842)
Temporarily skip failing unit tests.
This commit is contained in:
@@ -10,12 +10,18 @@ import unittest
|
||||
import unittest.mock
|
||||
import urllib
|
||||
|
||||
import pytest
|
||||
from ansible.executor.task_result import TaskResult
|
||||
from ansible.release import __version__ as ansible_release
|
||||
|
||||
from ansible_collections.community.general.plugins.callback.loganalytics_ingestion import (
|
||||
AzureLogAnalyticsIngestionSource,
|
||||
)
|
||||
|
||||
if tuple(int(x) for x in ansible_release.split(".")[:2]) >= (2, 21):
|
||||
# https://github.com/ansible/ansible/issues/86761
|
||||
pytest.skip("Temporarily skipping callback tests for ansible-core >= 2.21", allow_module_level=True)
|
||||
|
||||
|
||||
class TestAzureLogAnalyticsIngestion(unittest.TestCase):
|
||||
dce_url = "https://fake.dce_url.ansible.com"
|
||||
|
||||
Reference in New Issue
Block a user