commit b252b65ee094b5837774608e1c21a58ba8ab8eca
parent f328d62f553fa8ad21b9ae4eb05c8c384ab07d20
Author: James Prestwood <prestwoj@gmail.com>
Date: Wed, 18 Aug 2021 15:09:31 -0700
auto-t: hwsim.py: handle Prefix/Enabled in __str__
Diffstat:
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/autotests/util/hwsim.py b/autotests/util/hwsim.py
@@ -171,7 +171,9 @@ class Rule(HwsimDBusAbstract):
prefix + '\tFrequency:\t' + str(self.frequency) + '\n' + \
prefix + '\tApply rssi:\t' + str(self.signal) + '\n' + \
prefix + '\tApply drop:\t' + str(self.drop) + '\n' + \
- prefix + '\tPrefix:\t' + str([hex(b) for b in self.prefix]) + '\n'
+ prefix + '\tPrefix:\t' + str([hex(b) for b in self.prefix]) + '\n' + \
+ prefix + '\tDelay:\t' + str(self.delay) + '\n' + \
+ prefix + '\tEnabled:\t' + str(self.enabled) + '\n'
class RuleSet(collections.Mapping):
def __init__(self, hwsim, objects):