Island: Export PBAFileDownload from __init__

This commit is contained in:
Ilija Lazoroski 2022-08-05 10:05:57 +02:00
parent b874b6a736
commit 51318f7189
3 changed files with 3 additions and 2 deletions

View File

@ -16,6 +16,7 @@ from monkey_island.cc.resources import (
ClearSimulationData, ClearSimulationData,
IPAddresses, IPAddresses,
IslandLog, IslandLog,
PBAFileDownload,
PBAFileUpload, PBAFileUpload,
PropagationCredentials, PropagationCredentials,
RemoteRun, RemoteRun,
@ -40,7 +41,6 @@ from monkey_island.cc.resources.monkey import Monkey
from monkey_island.cc.resources.netmap import NetMap from monkey_island.cc.resources.netmap import NetMap
from monkey_island.cc.resources.node import Node from monkey_island.cc.resources.node import Node
from monkey_island.cc.resources.node_states import NodeStates from monkey_island.cc.resources.node_states import NodeStates
from monkey_island.cc.resources.pba_file_download import PBAFileDownload
from monkey_island.cc.resources.ransomware_report import RansomwareReport from monkey_island.cc.resources.ransomware_report import RansomwareReport
from monkey_island.cc.resources.root import Root from monkey_island.cc.resources.root import Root
from monkey_island.cc.resources.security_report import SecurityReport from monkey_island.cc.resources.security_report import SecurityReport

View File

@ -7,3 +7,4 @@ from .propagation_credentials import PropagationCredentials
from .ip_addresses import IPAddresses from .ip_addresses import IPAddresses
from .agent_configuration import AgentConfiguration from .agent_configuration import AgentConfiguration
from .pba_file_upload import PBAFileUpload from .pba_file_upload import PBAFileUpload
from .pba_file_download import PBAFileDownload

View File

@ -4,7 +4,7 @@ from tests.monkey_island import FILE_CONTENTS, FILE_NAME, MockFileRepository
from tests.unit_tests.monkey_island.conftest import get_url_for_resource from tests.unit_tests.monkey_island.conftest import get_url_for_resource
from monkey_island.cc.repository import IFileRepository from monkey_island.cc.repository import IFileRepository
from monkey_island.cc.resources.pba_file_download import PBAFileDownload from monkey_island.cc.resources import PBAFileDownload
@pytest.fixture @pytest.fixture