Skip to content
This repository was archived by the owner on Jan 23, 2026. It is now read-only.

Commit ac58748

Browse files
committed
Fixes bug in live get_table test for Contract class
1 parent f3100fb commit ac58748

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

tests/acitoolkit_test.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2613,7 +2613,7 @@ def test_get_table(self):
26132613
for contract in contracts:
26142614
total_contracts.append(contract)
26152615

2616-
self.assertIsInstance(Contract.get_table(contracts)[0], Table)
2616+
self.assertIsInstance(Contract.get_table(total_contracts)[0], Table)
26172617

26182618

26192619
class TestLiveOSPF(TestLiveAPIC):
@@ -2731,6 +2731,7 @@ def test_get(self):
27312731
self.assertIn(policy.policyType, ['fabric', 'access'])
27322732
self.assertIsInstance(policy.name, str)
27332733
self.check_collection_policy(policy)
2734+
return policies
27342735

27352736
def test_monitor_target(self):
27362737
session = self.login_to_apic()

0 commit comments

Comments
 (0)