Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
Signed-off-by: Sylvain Hellegouarch <[email protected]>
  • Loading branch information
Lawouach committed Feb 22, 2024
1 parent 26b5083 commit b79137a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
`AWSFaultInjectionSimulatorEC2Access` instead of creating new ones
- Drop `logzero`
- Drop support for Python 3.7 which has been EOL since June 2023
- Fixed EMR test to use the appropriate `moto`

## [0.31.1][] - 2024-01-22

Expand Down
4 changes: 2 additions & 2 deletions tests/emr/test_emr_actions.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import pytest
from botocore.exceptions import ClientError
from chaoslib.exceptions import FailedActivity
from moto import mock_emr
from moto import mock_aws

from chaosaws.emr.actions import (
modify_cluster,
Expand Down Expand Up @@ -34,7 +34,7 @@ def mock_client_error(*args, **kwargs):
)


@mock_emr
@mock_aws
class TestEmrActionsMoto:
def setup_method(self, *args, **kwargs):
config = os.path.join(data_path, "cluster_properties.json")
Expand Down
4 changes: 2 additions & 2 deletions tests/emr/test_emr_probes.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
import pytest
from botocore.exceptions import ClientError
from chaoslib.exceptions import FailedActivity
from moto import mock_emr
from moto import mock_aws

from chaosaws.emr.probes import (
describe_cluster,
Expand Down Expand Up @@ -35,7 +35,7 @@ def mock_client_error(*args, **kwargs):
)


@mock_emr
@mock_aws
class TestEmrProbesMoto:
def setup_method(self, *args, **kwargs):
config = os.path.join(data_path, "cluster_properties.json")
Expand Down

0 comments on commit b79137a

Please sign in to comment.