From 005278cda0812d530e519ebf39a1db22acff697a Mon Sep 17 00:00:00 2001 From: Shreya Date: Mon, 27 Jul 2020 21:46:17 +0530 Subject: [PATCH] Small CR changes --- .../cc/services/attack/technique_reports/pba_technique.py | 5 +++-- .../{attack_technique_test.py => test_attack_technique.py} | 0 2 files changed, 3 insertions(+), 2 deletions(-) rename monkey/monkey_island/cc/services/attack/technique_reports/{attack_technique_test.py => test_attack_technique.py} (100%) diff --git a/monkey/monkey_island/cc/services/attack/technique_reports/pba_technique.py b/monkey/monkey_island/cc/services/attack/technique_reports/pba_technique.py index a7ef96803..393bbc9db 100644 --- a/monkey/monkey_island/cc/services/attack/technique_reports/pba_technique.py +++ b/monkey/monkey_island/cc/services/attack/technique_reports/pba_technique.py @@ -1,4 +1,5 @@ import abc +from typing import List from common.utils.attack_utils import ScanStatus from monkey_island.cc.database import mongo @@ -11,9 +12,9 @@ class PostBreachTechnique(AttackTechnique, metaclass=abc.ABCMeta): @property @abc.abstractmethod - def pba_names(self): + def pba_names(self) -> List[str]: """ - :return: name of post breach action + :return: names of post breach action """ pass diff --git a/monkey/monkey_island/cc/services/attack/technique_reports/attack_technique_test.py b/monkey/monkey_island/cc/services/attack/technique_reports/test_attack_technique.py similarity index 100% rename from monkey/monkey_island/cc/services/attack/technique_reports/attack_technique_test.py rename to monkey/monkey_island/cc/services/attack/technique_reports/test_attack_technique.py