|
@@ -80,7 +80,7 @@ class BaseAttack(metaclass=abc.ABCMeta):
|
|
|
self.most_used_win_size = self.statistics.get_most_used_win_size()
|
|
|
|
|
|
@abc.abstractmethod
|
|
|
- def init_params(self):
|
|
|
+ def init_params(self): # pragma: no cover
|
|
|
"""
|
|
|
Initialize all required parameters taking into account user supplied values. If no value is supplied,
|
|
|
or if a user defined query is supplied, use a statistics object to do the calculations.
|
|
@@ -89,14 +89,14 @@ class BaseAttack(metaclass=abc.ABCMeta):
|
|
|
pass
|
|
|
|
|
|
@abc.abstractmethod
|
|
|
- def generate_attack_packets(self):
|
|
|
+ def generate_attack_packets(self): # pragma: no cover
|
|
|
"""
|
|
|
Creates the attack packets.
|
|
|
"""
|
|
|
pass
|
|
|
|
|
|
@abc.abstractmethod
|
|
|
- def generate_attack_pcap(self):
|
|
|
+ def generate_attack_pcap(self): # pragma: no cover
|
|
|
"""
|
|
|
Creates a pcap containing the attack packets.
|
|
|
|