Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
achantavy committed Sep 13, 2023
1 parent 8bad669 commit 5aba815
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,12 @@ def test_sync_inspector_network_findings(mock_get, neo4j_session):
def test_sync_inspector_ec2_package_findings(mock_get, neo4j_session):
# Arrange
boto3_session = MagicMock()
# Remove everything previously put in the test graph since the fixture scope is set to module and not function.
neo4j_session.run(
"""
MATCH (n) DETACH DELETE n;
""",
)
# Add some fake accounts
neo4j_session.run(
"""
Expand Down

0 comments on commit 5aba815

Please sign in to comment.