diff options
author | matthew.hodgins <matthew.hodgins@calxeda.com> | 2013-10-15 09:35:25 -0500 |
---|---|---|
committer | matthew.hodgins <matthew.hodgins@calxeda.com> | 2013-10-15 09:35:25 -0500 |
commit | 87e004da5471c84f48310f7ecdd78e574d95a6ab (patch) | |
tree | 37ec7914bc3389b3f2448949d8bc8bdad0b8608b | |
parent | d11c20d6eb6bdfb8c788731a1576ffa2721a884e (diff) | |
download | cxmanage-87e004da5471c84f48310f7ecdd78e574d95a6ab.tar.gz |
AIT-371 adding sel to dummynode for unit testing purposes
-rw-r--r-- | cxmanage_test/fabric_test.py | 6 |
1 files changed, 6 insertions, 0 deletions
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(). """ |