def test_info(self): """ @Feature: Subnet - Info @Test: Check if Subnet Info is displayed @Assert: Subnet Info is displayed """ options = {} options['name'] = generate_name(8, 8) options['network'] = generate_ipaddr(ip3=True) options['mask'] = '255.255.255.0' Subnet.create(options) sleep_for_seconds(5) result = Subnet.info({'name': options['name']}) self.assertTrue(len(result.stdout) > 1, "Subnet info - returns 1 record") self.assertEquals(result.stdout['name'], options['name'], "Subnet info - check name")