mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-03 04:34:24 -07:00
Skip test if github cannot be imported.
It currently cannot be imported because nacl isn't compatible with Python 3.14 yet, and importing github indirectly tries to import nacl, which fails as it uses a type from typing that got removed in 3.14.
This commit is contained in:
parent
3f9c9cba9a
commit
f2bcc2e9ec
1 changed files with 4 additions and 0 deletions
|
@ -7,11 +7,15 @@ __metaclass__ = type
|
|||
|
||||
import re
|
||||
import json
|
||||
import pytest
|
||||
from httmock import with_httmock, urlmatch, response
|
||||
from ansible_collections.community.internal_test_tools.tests.unit.compat import unittest
|
||||
from ansible_collections.community.general.plugins.modules import github_repo
|
||||
|
||||
|
||||
pytest.importorskip('github')
|
||||
|
||||
|
||||
@urlmatch(netloc=r'.*')
|
||||
def debug_mock(url, request):
|
||||
print(request.original.__dict__)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue