From 87e004da5471c84f48310f7ecdd78e574d95a6ab Mon Sep 17 00:00:00 2001 From: "matthew.hodgins" Date: Tue, 15 Oct 2013 09:35:25 -0500 Subject: AIT-371 adding sel to dummynode for unit testing purposes --- cxmanage_test/fabric_test.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/cxmanage_test/fabric_test.py b/cxmanage_test/fabric_test.py index 3be19f2..d2a6e28 100644 --- a/cxmanage_test/fabric_test.py +++ b/cxmanage_test/fabric_test.py @@ -451,8 +451,14 @@ class DummyNode(object): self.power_state = False self.ip_address = ip_address self.tftp = tftp + self.sel = [] self.bmc = make_bmc(DummyBMC, hostname=ip_address, username=username, password=password, verbose=False) + + def get_sel(self): + """Simulate get_sel()""" + self.executed.append('get_sel') + return self.sel def get_power(self): """Simulate get_power(). """ -- cgit v1.2.1