build(deps-dev): bump moto from 4.1.3 to 4.1.4 (#2045)

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Pepe Fagoaga <pepe@verica.io>
This commit is contained in:
dependabot[bot]
2023-03-07 12:45:50 +01:00
committed by GitHub
parent 305f4b2688
commit a24cc399a4
4 changed files with 11 additions and 13 deletions

8
poetry.lock generated
View File

@@ -1251,14 +1251,14 @@ test = ["pytest", "pytest-cov"]
[[package]]
name = "moto"
version = "4.1.3"
version = "4.1.4"
description = ""
category = "dev"
optional = false
python-versions = ">=3.7"
files = [
{file = "moto-4.1.3-py2.py3-none-any.whl", hash = "sha256:dcd1d06662982cf3c94f36d6348251ccdcf62a1c5de5650425cb4e6f260ae7a0"},
{file = "moto-4.1.3.tar.gz", hash = "sha256:c8200ccaa9440c2e9daa0bd5e0bd768a719db5a2c82ea8d782f0e3fa09a3c5e2"},
{file = "moto-4.1.4-py2.py3-none-any.whl", hash = "sha256:f9bf72aec6aea49ebb1a46c8096b2c9629be58ecca3ecd8b51f781fea78148e2"},
{file = "moto-4.1.4.tar.gz", hash = "sha256:304cb19eee0019cd13f7d87ca590a4694677469c383ab8f8439fcb6717c47037"},
]
[package.dependencies]
@@ -2610,4 +2610,4 @@ docs = ["mkdocs", "mkdocs-material"]
[metadata]
lock-version = "2.0"
python-versions = "^3.9"
content-hash = "12c8f0b1720693e3b84f887f7f147d1ee42a1fbb694c20e3aae3703622edd700"
content-hash = "366ef6989a27a7c029740f5d8260c2d69d2176910318af1dd5d8f751a5227e22"

View File

@@ -56,7 +56,7 @@ coverage = "7.2.1"
docker = "6.0.1"
flake8 = "6.0.0"
freezegun = "1.2.2"
moto = "4.1.3"
moto = "4.1.4"
openapi-spec-validator = "0.5.5"
pylint = "2.16.4"
pytest = "7.2.2"

View File

@@ -9,7 +9,6 @@ AWS_REGION = "us-east-1"
class Test_ec2_ebs_public_snapshot:
@mock_ec2
def test_ec2_default_snapshots(self):
from prowler.providers.aws.lib.audit_info.audit_info import current_audit_info
from prowler.providers.aws.services.ec2.ec2_service import EC2
@@ -29,7 +28,7 @@ class Test_ec2_ebs_public_snapshot:
result = check.execute()
# Default snapshots
assert len(result) == 122
assert len(result) == 1116
@mock_ec2
def test_ec2_public_snapshot(self):
@@ -63,7 +62,7 @@ class Test_ec2_ebs_public_snapshot:
results = check.execute()
# Default snapshots + 1 created
assert len(results) == 123
assert len(results) == 1117
for snap in results:
if snap.resource_id == snapshot.id:
@@ -104,7 +103,7 @@ class Test_ec2_ebs_public_snapshot:
results = check.execute()
# Default snapshots + 1 created
assert len(results) == 123
assert len(results) == 1117
for snap in results:
if snap.resource_id == snapshot.id:

View File

@@ -9,7 +9,6 @@ AWS_REGION = "us-east-1"
class Test_ec2_ebs_snapshots_encrypted:
@mock_ec2
def test_ec2_default_snapshots(self):
from prowler.providers.aws.lib.audit_info.audit_info import current_audit_info
from prowler.providers.aws.services.ec2.ec2_service import EC2
@@ -29,7 +28,7 @@ class Test_ec2_ebs_snapshots_encrypted:
result = check.execute()
# Default snapshots
assert len(result) == 122
assert len(result) == 1116
@mock_ec2
def test_ec2_unencrypted_snapshot(self):
@@ -57,7 +56,7 @@ class Test_ec2_ebs_snapshots_encrypted:
results = check.execute()
# Default snapshots + 1 created
assert len(results) == 123
assert len(results) == 1117
for snap in results:
if snap.resource_id == snapshot.id:
@@ -98,7 +97,7 @@ class Test_ec2_ebs_snapshots_encrypted:
results = check.execute()
# Default snapshots + 1 created
assert len(results) == 123
assert len(results) == 1117
for snap in results:
if snap.resource_id == snapshot.id: