Did I find the right examples for you? yes no

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)
tuple() -> empty tuple
tuple(iterable) -> tuple initialized from iterable's items

If the argument is a tuple, the return value is the same object.

src/q/u/quintagroup.pingtool-1.1.3/quintagroup/pingtool/tests/testPropertiesToolConf.py   quintagroup.pingtool(Download)
from base import TestCase
from config import NT_PROPERTIES, S_PROPERTIES
 
class TestPropertiesToolConf(TestCase):
 
    def testConfigurationNavtreePropertiesTool(self):
        # Configuration navtree_properties
        props = self.ptool.navtree_properties
        for prop_id, prop_type, prop_value in NT_PROPERTIES:
           self.assertTrue(prop_id in props.propertyIds())