Beispiel #1
0
 def setUp(self):
   super(BundleToSeqexTest, self).setUp()
   with open(
       os.path.join(absltest.get_default_test_srcdir(),
                    _VERSION_CONFIG_PATH)) as f:
     self._version_config = text_format.Parse(
         f.read(), version_config_pb2.VersionConfig())
Beispiel #2
0
def _get_version_config(version_config_path: str):
    with open(version_config_path) as f:
        return text_format.Parse(f.read(), version_config_pb2.VersionConfig())