예제 #1
0
 def _buildCaps(self, filename):
     path = os.path.join(DATADIR, filename)
     conn = utils.URIs.open_testdefault_cached()
     return Capabilities(conn, open(path).read())
예제 #2
0
 def _buildCaps(self, filename):
     path = os.path.join("tests/capabilities-xml", filename)
     return Capabilities(conn, open(path).read())