From 85944bdc74d1bc9e5df252907a341037d5515762 Mon Sep 17 00:00:00 2001 From: Jake Ororke Date: Mon, 30 Sep 2024 19:36:10 -0700 Subject: [PATCH] Apply suggestions from code review Added changes from Ceciile to this test module Co-authored-by: C Freeman --- src/python_testing/TC_CADMIN_1_15.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/python_testing/TC_CADMIN_1_15.py b/src/python_testing/TC_CADMIN_1_15.py index 73f0eb4dfa5874..ea6529cd69cd21 100644 --- a/src/python_testing/TC_CADMIN_1_15.py +++ b/src/python_testing/TC_CADMIN_1_15.py @@ -199,7 +199,7 @@ async def test_TC_CADMIN_1_15(self): # len of fabrics is expected to be 2, if 2 not found then we assert failure asserts.fail(f"Expected number of fabrics not correct, should show 2, but instead shows {str(len(fabrics2))}") - if 2 in fabric_indexes: + if fabric_idx_cr2 in fabric_indexes: asserts.fail("fabricIndexes should consist of indexes 1 and 3 at this point") self.step(14) @@ -216,7 +216,7 @@ async def test_TC_CADMIN_1_15(self): # len of fabrics is expected to be 3, if 3 not found then we assert failure asserts.fail("Expected number of fabrics not correct") - if 2 in fabric_indexes2: + if fabric_idx_cr2 in fabric_indexes2: asserts.fail("fabricIndexes should consist of indexes 1, 3, and 4 at this time") self.step(17)