Home
last modified time | relevance | path

Searched refs:yml_file (Results 1 – 25 of 25) sorted by relevance

/dports/comms/gnuradio/gnuradio-3.8.4.0/grc/converter/
H A Dmain.py103 yml_file = path.join(self.output_dir, block_id_from_xml + '.block.yml')
105 if not self.needs_conversion(xml_file, yml_file):
112 self.cache[yml_file] = data
114 with open(yml_file, 'w', encoding='utf-8') as yml_file:
115 block.dump(data, yml_file)
121 yml_file = path.join(self.output_dir, module_name + '.tree.yml')
123 if not self.needs_conversion(xml_file, yml_file):
128 self.cache[yml_file] = data
130 with open(yml_file, 'w', encoding='utf-8') as yml_file:
131 block_tree.dump(data, yml_file)
/dports/www/firefox-esr/firefox-91.8.0/testing/raptor/test/
H A Dtest_utils.py45 yml_file = os.path.join(tempfile.mkdtemp(), "utils.yaml")
49 assert not os.path.exists(yml_file)
50 write_yml_file(yml_file, yml_data)
51 assert os.path.exists(yml_file)
53 with open(yml_file, "r") as yml_in:
/dports/www/firefox/firefox-99.0/testing/raptor/test/
H A Dtest_utils.py45 yml_file = os.path.join(tempfile.mkdtemp(), "utils.yaml")
49 assert not os.path.exists(yml_file)
50 write_yml_file(yml_file, yml_data)
51 assert os.path.exists(yml_file)
53 with open(yml_file, "r") as yml_in:
/dports/lang/spidermonkey78/firefox-78.9.0/testing/raptor/test/
H A Dtest_utils.py43 yml_file = os.path.join(tempfile.mkdtemp(), 'utils.yaml')
52 assert not os.path.exists(yml_file)
53 write_yml_file(yml_file, yml_data)
54 assert os.path.exists(yml_file)
56 with open(yml_file, 'r') as yml_in:
/dports/mail/thunderbird/thunderbird-91.8.0/testing/raptor/test/
H A Dtest_utils.py45 yml_file = os.path.join(tempfile.mkdtemp(), "utils.yaml")
49 assert not os.path.exists(yml_file)
50 write_yml_file(yml_file, yml_data)
51 assert os.path.exists(yml_file)
53 with open(yml_file, "r") as yml_in:
/dports/devel/py-pip/pip-20.3.4/tests/yaml/
H A Dlinter.py75 def lint_yml(yml_file, verbose=False): argument
77 print("=== linting: %s ===" % yml_file)
78 assert yml_file.endswith(".yml")
79 with open(yml_file) as fi:
107 for yml_file in args:
108 lint_yml(yml_file, opts.verbose)
/dports/textproc/py-j2cli/j2cli-0.3.12b/tests/
H A Drender-test.py148 with mktemp('user_login: kolypto') as yml_file:
151 …self._testme(['--format=yaml', template, yml_file], 'kolypto:qwerty123', env=dict(USER_PASS='qwert…
158 … self._testme(['--format=yaml', template, yml_file], 'kolypto:qwerty123', env=dict())
162 self._testme(['--format=yaml', template, yml_file], 'kolypto:-none-', env=dict())
166 …self._testme(['--format=yaml', template, yml_file], 'kolypto:qwerty123', env=dict(USER_PASS='qwert…
170 self._testme(['--format=yaml', template, yml_file], '', env=dict())
174 …self._testme(['--format=yaml', template, yml_file], 'kolypto:qwerty123', env=dict(USER_PASS='qwert…
175 self._testme(['--format=yaml', template, yml_file], 'kolypto:-none-', env=dict())
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/spec/tasks/gitlab/packages/
H A Devents_rake_spec.rb12 yml_file = nil
14 allow(file).to receive(:<<) { |contents| yml_file = contents }
19 YAML.safe_load(yml_file)
/dports/www/firefox-esr/firefox-91.8.0/testing/raptor/raptor/
H A Dutils.py76 def write_yml_file(yml_file, yml_data): argument
78 LOG.info("writing %s to %s" % (yml_data, yml_file))
81 with open(yml_file, "w") as outfile:
/dports/www/firefox/firefox-99.0/testing/raptor/raptor/
H A Dutils.py76 def write_yml_file(yml_file, yml_data): argument
78 LOG.info("writing %s to %s" % (yml_data, yml_file))
81 with open(yml_file, "w") as outfile:
/dports/mail/thunderbird/thunderbird-91.8.0/testing/raptor/raptor/
H A Dutils.py76 def write_yml_file(yml_file, yml_data): argument
78 LOG.info("writing %s to %s" % (yml_data, yml_file))
81 with open(yml_file, "w") as outfile:
/dports/lang/spidermonkey78/firefox-78.9.0/testing/raptor/raptor/
H A Dutils.py74 def write_yml_file(yml_file, yml_data): argument
76 LOG.info("writing %s to %s" % (yml_data, yml_file))
79 with open(yml_file, 'w') as outfile:
/dports/comms/gnuradio/gnuradio-3.8.4.0/gr-utils/python/modtool/core/
H A Dupdate.py88 yml_file = "{}_{}.block.yml".format(module_name, blockname)
90 logger.info("Converted {} to {}".format(xml_file, yml_file))
92 nsubs = self._run_cmakelists(xml_file, yml_file)
/dports/devel/py-pip/pip-20.3.4/tests/functional/
H A Dtest_yaml.py19 for yml_file in directory.glob("*.yml"):
20 data = yaml.safe_load(yml_file.read_text())
25 base_name = str(yml_file)[len(str(directory)) + 1:-4]
/dports/devel/py-kaptan/kaptan-0.5.12/tests/
H A Dtest_kaptan.py178 yml_file = tmpdir.join('config.yml')
179 yml_file.write("""
187 config.import_config(str(yml_file))
/dports/sysutils/ansible2/ansible-2.9.27/lib/ansible/config/
H A Dmanager.py299 def _read_config_yaml_file(self, yml_file): argument
302 yml_file = to_bytes(yml_file)
303 if os.path.exists(yml_file):
304 with open(yml_file, 'rb') as config_def:
307 "Missing base YAML definition file (bad install?): %s" % to_native(yml_file))
/dports/sysutils/py-ansible-base/ansible-base-2.10.15/lib/ansible/config/
H A Dmanager.py308 def _read_config_yaml_file(self, yml_file): argument
311 yml_file = to_bytes(yml_file)
312 if os.path.exists(yml_file):
313 with open(yml_file, 'rb') as config_def:
316 "Missing base YAML definition file (bad install?): %s" % to_native(yml_file))
/dports/sysutils/py-ansible-core/ansible-core-2.11.6/lib/ansible/config/
H A Dmanager.py312 def _read_config_yaml_file(self, yml_file): argument
315 yml_file = to_bytes(yml_file)
316 if os.path.exists(yml_file):
317 with open(yml_file, 'rb') as config_def:
320 "Missing base YAML definition file (bad install?): %s" % to_native(yml_file))
/dports/science/cantera/cantera-2.5.1-611-gc4d6ecc15/interfaces/cython/cantera/test/
H A Dutilities.py21 def load_yaml(yml_file): argument
25 with open(yml_file, "rt", encoding="utf-8") as stream:
28 with open(yml_file, "rt", encoding="utf-8") as stream:
H A Dtest_composite.py16 cls.yml_file = cls.test_data_path / "thermo-models.yaml"
17 cls.yml = utilities.load_yaml(cls.yml_file)
23 sol = ct.Solution(self.yml_file, ph_name)
79 sol = ct.Solution(self.yml_file, ph_name)
/dports/www/firefox-esr/firefox-91.8.0/testing/condprofile/condprof/
H A Dutil.py318 def write_yml_file(yml_file, yml_data): argument
319 logger.info("writing %s to %s" % (yml_data, yml_file))
321 with open(yml_file, "w") as outfile:
/dports/www/firefox/firefox-99.0/testing/condprofile/condprof/
H A Dutil.py318 def write_yml_file(yml_file, yml_data): argument
319 logger.info("writing %s to %s" % (yml_data, yml_file))
321 with open(yml_file, "w") as outfile:
/dports/mail/thunderbird/thunderbird-91.8.0/testing/condprofile/condprof/
H A Dutil.py318 def write_yml_file(yml_file, yml_data): argument
319 logger.info("writing %s to %s" % (yml_data, yml_file))
321 with open(yml_file, "w") as outfile:
/dports/lang/spidermonkey78/firefox-78.9.0/testing/condprofile/condprof/
H A Dutil.py319 def write_yml_file(yml_file, yml_data): argument
320 logger.info("writing %s to %s" % (yml_data, yml_file))
322 with open(yml_file, "w") as outfile:
/dports/sysutils/py-azure-cli/azure-cli-2.29.2/azure/cli/command_modules/rdbms/
H A D_flexible_server_util.py431 with open(action_dir + action_name + '.yml', 'w', encoding='utf8') as yml_file:
432 yml_file.write("on: [workflow_dispatch]\n")
433 yml_file.write(yaml.dump(template))