Skip to content

Commit

Permalink
run tests
Browse files Browse the repository at this point in the history
  • Loading branch information
KB-perByte committed Jan 7, 2025
1 parent 5bab220 commit 47bde73
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 27 deletions.
13 changes: 0 additions & 13 deletions tests/unit/modules/network/asa/test_asa_acls.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,6 @@

__metaclass__ = type

import sys

import pytest


# These tests and/or the module under test are unstable on Python 3.5.
# See: https://app.shippable.com/github/ansible/ansible/runs/161331/15/tests
# This is most likely due to CPython 3.5 not maintaining dict insertion order.
pytestmark = pytest.mark.skipif(
sys.version_info[:2] == (3, 5),
reason="Tests and/or module are unstable on Python 3.5.",
)

from textwrap import dedent
from unittest.mock import patch

Expand Down
2 changes: 1 addition & 1 deletion tests/unit/modules/network/asa/test_asa_facts.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@


__metaclass__ = type
from unittest.mock import patch

from ansible_collections.cisco.asa.plugins.modules import asa_facts
from ansible_collections.cisco.asa.tests.unit.compat.mock import patch
from ansible_collections.cisco.asa.tests.unit.modules.utils import set_module_args

from .asa_module import TestAsaModule, load_fixture
Expand Down
14 changes: 1 addition & 13 deletions tests/unit/modules/network/asa/test_asa_ogs.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,9 @@

__metaclass__ = type

import sys

import pytest


# These tests and/or the module under test are unstable on Python 3.5.
# See: https://app.shippable.com/github/ansible/ansible/runs/161331/15/tests
# This is most likely due to CPython 3.5 not maintaining dict insertion order.
pytestmark = pytest.mark.skipif(
sys.version_info[:2] == (3, 5),
reason="Tests and/or module are unstable on Python 3.5.",
)
from unittest.mock import patch

from ansible_collections.cisco.asa.plugins.modules import asa_ogs
from ansible_collections.cisco.asa.tests.unit.compat.mock import patch
from ansible_collections.cisco.asa.tests.unit.modules.utils import set_module_args

from .asa_module import TestAsaModule, load_fixture
Expand Down

0 comments on commit 47bde73

Please sign in to comment.