Skip to content

Commit

Permalink
ras/ras_lsvpd: Remove avocado version check
Browse files Browse the repository at this point in the history
get_pci_info() routine was added with avocado v99.0. A check for
this version was added to ensure part of the test is cancelled for
older avocado releases.

Remove this dead code since most users have switched to using newer
avocado releases

Signed-off-by: Sachin Sant <[email protected]>
  • Loading branch information
sacsant committed Feb 28, 2024
1 parent f9427aa commit 7e973ba
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions ras/ras_lsvpd.py
Original file line number Diff line number Diff line change
Expand Up @@ -349,11 +349,6 @@ def test_pci_lscfg(self):
'''
Capture data from lscfg and lspci then compare data
'''
# get_pci_info() routine is available with avocado v99.0
# Add a check for the same to cancel the test.
avocado_ver = os.environ['AVOCADO_VERSION']
if avocado_ver < '99.0':
self.cancel("Test requires Avocado v99.0+ test runner")
error = []
for pci_addr in pci.get_pci_addresses():
self.log.info("Checking for PCI Address: %s\n\n", pci_addr)
Expand Down

0 comments on commit 7e973ba

Please sign in to comment.