fix(aws_regions_by_service.json): FileNotFoundError[13] (#1689)

Co-authored-by: sergargar <sergio@verica.io>
This commit is contained in:
Sergio Garcia
2023-01-12 13:24:03 +01:00
committed by GitHub
parent b03df619df
commit fe906477da
6 changed files with 29 additions and 33 deletions

View File

@@ -1,3 +1,4 @@
import os
import pathlib
from os import path, remove
from unittest import mock
@@ -66,7 +67,7 @@ def mock_make_api_call(self, operation_name, kwarg):
class Test_Outputs:
def test_fill_file_descriptors(self):
audited_account = AWS_ACCOUNT_ID
output_directory = f"{pathlib.Path().absolute()}"
output_directory = f"{os.path.dirname(os.path.realpath(__file__))}"
audit_info = AWS_Audit_Info(
original_session=None,
audit_session=None,