Island: Export {LINUX, WINDOWS}_PBA_TYPE from __init__

This commit is contained in:
Ilija Lazoroski 2022-08-05 11:04:58 +02:00
parent 51318f7189
commit 1991669402
2 changed files with 2 additions and 3 deletions

View File

@ -6,5 +6,5 @@ from .reset_agent_configuration import ResetAgentConfiguration
from .propagation_credentials import PropagationCredentials
from .ip_addresses import IPAddresses
from .agent_configuration import AgentConfiguration
from .pba_file_upload import PBAFileUpload
from .pba_file_upload import PBAFileUpload, LINUX_PBA_TYPE, WINDOWS_PBA_TYPE
from .pba_file_download import PBAFileDownload

View File

@ -9,8 +9,7 @@ from tests.utils import raise_
from common import DIContainer
from monkey_island.cc.repository import IAgentConfigurationRepository, IFileRepository
from monkey_island.cc.resources import PBAFileUpload
from monkey_island.cc.resources.pba_file_upload import LINUX_PBA_TYPE, WINDOWS_PBA_TYPE
from monkey_island.cc.resources import LINUX_PBA_TYPE, WINDOWS_PBA_TYPE, PBAFileUpload
TEST_FILE_CONTENTS = b"m0nk3y"
TEST_FILE = (