code
stringlengths
3
6.57k
api.render(recipe, config=testing_config)
testing_config.clean()
test_workdir_removal_warning(testing_config, caplog)
os.path.join(metadata_dir, '_test_uses_src_dir')
pytest.raises(ValueError)
api.build(recipe, config=testing_config)
str(exc)
pytest.mark.skipif(not sys.platform.startswith('linux')
pytest.mark.xfail(VersionOrder(conda.__version__)
VersionOrder('4.3.2')
test_cross_compiler(testing_workdir, testing_config, capfd)
os.path.join(metadata_dir, '_cross_helloworld')
api.build(recipe_dir, config=testing_config)
output.startswith(os.path.join(testing_config.croot, 'linux-imx351uc')
pytest.mark.skipif(sys.platform != 'darwin', reason="relevant to mac only")
test_append_python_app_osx(testing_config)
os.path.join(metadata_dir, '_osx_is_app_missing_python_app')
api.build(recipe, config=testing_config)
test_clobbering_manually_set_metadata_raises(testing_metadata, testing_workdir)
api.output_yaml(testing_metadata, 'meta.yaml')
api.render(testing_workdir)
pytest.raises(ValueError)
api.build(metadata)
test_run_exports(testing_metadata, testing_config, testing_workdir)
api.build(os.path.join(metadata_dir, '_run_exports')
api.build(os.path.join(metadata_dir, '_run_exports_implicit_weak')
present (legacy recipe)
api.output_yaml(testing_metadata, 'meta.yaml')
api.render(testing_workdir, config=testing_config)
api.output_yaml(testing_metadata, 'meta.yaml')
api.render(testing_workdir, config=testing_config)
api.output_yaml(testing_metadata, 'meta.yaml')
api.render(testing_workdir, config=testing_config)
any('strong_pinned_package 1.0' in req for req in m.meta['requirements']['host'])
test_ignore_run_exports(testing_metadata, testing_config)
api.build(os.path.join(metadata_dir, '_run_exports')
finalize_metadata(testing_metadata)
test_pin_subpackage_exact(testing_config)
os.path.join(metadata_dir, '_pin_subpackage_exact')
api.render(recipe, config=testing_config)
for (m, _, _)
api.build(recipe, config=testing_config)
pytest.mark.skipif(sys.platform != 'linux', reason="xattr code written here is specific to linux")
test_copy_read_only_file_with_xattr(testing_config, testing_workdir)
os.path.join(metadata_dir, '_xattr_copy')
os.path.join(testing_workdir, '_xattr_copy')
copy_into(src_recipe, recipe)
os.path.join(recipe, 'mode_400_file')
subprocess.check_call('setfattr -n user.attrib -v somevalue {}'.format(ro_file)
subprocess.check_call('chmod 400 {}'.format(ro_file)
api.build(recipe, config=testing_config)
test_env_creation_fail_exits_build(testing_config)
os.path.join(metadata_dir, '_post_link_exits_after_retry')
pytest.raises((RuntimeError, LinkError, CondaError)
api.build(recipe, config=testing_config)
os.path.join(metadata_dir, '_post_link_exits_tests')
pytest.raises((RuntimeError, LinkError, CondaError)
api.build(recipe, config=testing_config)
test_recursion_packages(testing_config)
os.path.join(metadata_dir, '_recursive-build-two-packages')
api.build(recipe, config=testing_config)
test_recursion_layers(testing_config)
os.path.join(metadata_dir, '_recursive-build-two-layers')
api.build(recipe, config=testing_config)
test_croot_with_spaces(testing_metadata, testing_workdir)
os.path.join(testing_workdir, "space path")
api.build(testing_metadata)
test_unknown_selectors(testing_config)
os.path.join(metadata_dir, 'unknown_selector')
api.build(recipe, config=testing_config)
test_extract_tarball_with_unicode_filename(testing_config)
os.path.join(metadata_dir, '_unicode_in_tarball')
api.build(recipe, config=testing_config)
test_failed_recipe_leaves_folders(testing_config, testing_workdir)
os.path.join(fail_dir, 'recursive-build')
api.render(recipe, config=testing_config)
get_conda_operation_locks(m.config)
pytest.raises((RuntimeError, exceptions.DependencyNeedsBuildingError)
api.build(m)
os.path.isdir(m.config.build_folder)
os.listdir(m.config.build_folder)
set()
os.path.isfile(lock.lock_file)
base64.b64decode(os.path.basename(lock.lock_file)
hasattr(dest_path, 'decode')
dest_path.decode()
locks_list.add((lock.lock_file, dest_path)
format('\n'.join('->'.join((l, r)
for (l, r)
test_only_r_env_vars_defined(testing_config)
os.path.join(metadata_dir, '_r_env_defined')
api.build(recipe, config=testing_config)
test_only_perl_env_vars_defined(testing_config)
os.path.join(metadata_dir, '_perl_env_defined')
api.build(recipe, config=testing_config)
pytest.mark.skipif(on_win, reason='no lua package on win')
test_only_lua_env(testing_config)
os.path.join(metadata_dir, '_lua_env_defined')
api.build(recipe, config=testing_config)
test_run_constrained_stores_constrains_info(testing_config)