Lines Matching defs:string
99 import string
141 elif string.find(sys.platform, 'irix') != -1:
152 elif string.find(sys.platform, 'darwin') != -1:
163 elif string.find(sys.platform, 'sunos') != -1:
244 print "Missing files: `%s'" % string.join(missing, "', `")
246 print "Unwritable files: `%s'" % string.join(unwritable, "', `")
253 contains = (string.find(file_contents, required) != -1)
255 print "File `%s' does not contain required string." % file
256 print self.banner('Required string ')
263 """Ensures that the specified output string (first argument)
274 find = lambda o, l: string.find(o, l) != -1
291 """Ensures that the specified output string (first argument)
302 find = lambda o, l: string.find(o, l) != -1
329 print "Missing files: `%s'" % string.join(missing, "', `")
335 contents are a list of lines or a string which will be split
352 contains = (string.find(file_contents, banned) != -1)
354 print "File `%s' contains banned string." % file
355 print self.banner('Banned string ')
362 """Ensures that the specified output string (first argument)
373 find = lambda o, l: string.find(o, l) != -1
401 print "Unexpected files exist: `%s'" % string.join(existing, "', `")
415 print "Missing files: `%s'" % string.join(missing, "', `")
417 print "Writable files: `%s'" % string.join(writable, "', `")