Skip to content

Commit

Permalink
Trying alternative mock from unittest
Browse files Browse the repository at this point in the history
  • Loading branch information
dmurphy18 committed Sep 10, 2024
1 parent 739efea commit b37b207
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tests/unit/modules/test_cassandra_cql.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,16 @@
import logging
import ssl

## from tests.support.mock import MagicMock
## from tests.support.mock import patch
from unittest.mock import MagicMock
from unittest.mock import patch

import pytest
from salt.exceptions import CommandExecutionError

## import salt.modules.cassandra_cql as cassandra_cql
import saltext.cassandra.modules.cassandra_cql as cassandra_cql
from tests.support.mock import MagicMock
from tests.support.mock import patch

log = logging.getLogger(__name__)

Expand Down

0 comments on commit b37b207

Please sign in to comment.