noseselecttests/__init__.py
def _is_selected(self, test_obj):
        """Return True if a test object should be selected based on criteria pattern."""
        if not test_obj:
            return
        if isinstance(test_obj, six.string_types):
            name = test_obj
        else:
            name = objname(test_obj)
        #log.debug('object name: %r' % name)
        if name:
            name = name.lower()
            selected = any(fnmatch(name, pat) for pat in self.selection_criteria)
            #log.debug('selected:%r name: %r' % (selected, name,))
            return selected
        else:
            return False
Return True if a test object should be selected based on criteria pattern.
Return True if a test object should be selected based on criteria pattern.
Return True if a test object should be selected based on criteria pattern .
def _is_selected(self, test_obj):
        if not test_obj:
            return
        if isinstance(test_obj, six.string_types):
            name = test_obj
        else:
            name = objname(test_obj)
        if name:
            name = name.lower()
            selected = any(fnmatch(name, pat) for pat in self.selection_criteria)
            return selected
        else:
            return False
def _is_selected ( self , test_obj ) : if not test_obj : return if isinstance ( test_obj , six . string_types ) : name = test_obj else : name = objname ( test_obj ) if name : name = name . lower ( ) selected = any ( fnmatch ( name , pat ) for pat in self . selection_criteria ) return selected else : return False
Return True if a test object should be selected based on criteria pattern.
Return True if a test object should be selected based on criteria pattern .
"""Return True if a test object should be selected based on criteria pattern.""" #log.debug('object name: %r' % name) #log.debug('selected:%r name: %r' % (selected, name,))
self
test_obj