Logo Search packages:      
Sourcecode: chromium-browser version File versions  Download package

def bookmarks::BookmarksTest::_GetTestURLs (   self,
  filename 
) [private]

Read the given data file and return a dictionary of items.

Definition at line 119 of file bookmarks.py.

00119                                   :
    """Read the given data file and return a dictionary of items."""
    data_file = os.path.join(self.DataDir(), "bookmarks", filename)
    contents = open(data_file).read()
    try:
      dictionary = eval(contents, {'__builtins__': None}, None)
    except:
      print >>sys.stderr, "%s is an invalid data file." % data_file
      raise
    return dictionary

  def testUnicodeStrings(self):


Generated by  Doxygen 1.6.0   Back to index