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