예제 #1
0
 def assertLoaded(self, contents, expected):
   self.assertEqual(expected, Properties.load(contents))
예제 #2
0
 def assertLoaded(self, contents, expected):
     self.assertEqual(expected, Properties.load(contents))
예제 #3
0
 def load(path):
   """Loads a pushdb maintained in a properties file at the given path."""
   with open(path, 'r') as props:
     properties = Properties.load(props)
     return PushDb(properties)
예제 #4
0
 def load(path):
   """Loads a pushdb maintained in a properties file at the given path."""
   with open(path, 'r') as props:
     properties = Properties.load(props)
     return PushDb(properties)