Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Added changes from Ceciile to this test module

Co-authored-by: C Freeman <[email protected]>
  • Loading branch information
j-ororke and cecille authored Oct 1, 2024
1 parent 9aa3455 commit 85944bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/python_testing/TC_CADMIN_1_15.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand Down

0 comments on commit 85944bd

Please sign in to comment.