code
stringlengths
3
6.57k
os.path.join(metadata_dir, '_run_constrained')
api.build(recipe, config=testing_config)
json.loads(package_has_file(out_file, 'info/index.json')
len(info_contents['constrains'])
test_no_locking(testing_config)
os.path.join(metadata_dir, 'source_git_jinja2')
api.update_index(os.path.join(testing_config.croot, testing_config.subdir)
api.build(recipe, config=testing_config, locking=False)
test_test_dependencies(testing_workdir, testing_config)
os.path.join(fail_dir, 'check_test_dependencies')
pytest.raises(exceptions.DependencyNeedsBuildingError)
api.build(recipe, config=testing_config)
str(e.value)
str(e.value)
test_runtime_dependencies(testing_workdir, testing_config)
os.path.join(fail_dir, 'check_runtime_dependencies')
pytest.raises(exceptions.DependencyNeedsBuildingError)
api.build(recipe, config=testing_config)
str(e.value)
str(e.value)
test_no_force_upload_condarc_setting(mocker, testing_workdir, testing_metadata)
api.output_yaml(testing_metadata, 'meta.yaml')
mocker.patch.object(conda_build.build.subprocess, 'call')
api.build(testing_workdir)
call.called_once_with(['anaconda', 'upload', pkg])
api.build(testing_workdir)
call.called_once_with(['anaconda', 'upload', '--force', pkg])
test_setup_py_data_in_env(testing_config)
os.path.join(metadata_dir, '_setup_py_data_in_env')
python (just not 3.5)
api.build(recipe, config=testing_config)
pytest.raises(subprocess.CalledProcessError)
api.build(recipe, config=testing_config, python='3.4')
test_numpy_xx(testing_config)
os.path.join(metadata_dir, '_numpy_xx')
api.build(recipe, config=testing_config, numpy='1.12')
test_numpy_xx_host(testing_config)
os.path.join(metadata_dir, '_numpy_xx_host')
api.build(recipe, config=testing_config, numpy='1.12')
test_python_xx(testing_config)
os.path.join(metadata_dir, '_python_xx')
api.build(recipe, config=testing_config, python='3.4')
test_indirect_numpy_dependency(testing_metadata)
api.build(testing_metadata, numpy=1.13)
test_dependencies_with_notest(testing_workdir, testing_config)
os.path.join(metadata_dir, '_test_dependencies')
api.build(recipe, config=testing_config, notest=True)
pytest.raises(DependencyNeedsBuildingError)
api.build(recipe, config=testing_config, notest=False)
str(excinfo.value)
str(excinfo.value)
test_source_cache_build(testing_workdir)
os.path.join(metadata_dir, 'source_git_jinja2')
api.Config(src_cache_root=testing_workdir)
api.build(recipe, notest=True, config=config)
format(testing_workdir)
os.path.isdir(git_cache_directory)
os.walk(git_cache_directory)
len(files)
test_copy_test_source_files(testing_config)
os.path.join(metadata_dir, '_test_test_source_files')
set()
in (False, True)
api.build(recipe, notest=False, config=testing_config)
filenames.add(os.path.basename(outputs[0])
tarfile.open(outputs[0])
tf.getmembers()
f.name.startswith('info/test/')
len(filenames)
test_pin_depends(testing_config)
os.path.join(metadata_dir, '_pin_depends_record')
api.render(recipe, config=testing_config)
any(re.search('python\s+[23]\.', dep)
api.build(m, config=testing_config)
package_has_file(output, 'info/requires')
hasattr(requires, 'decode')
requires.decode()
re.search('python\=[23]\.', requires)
test_failed_patch_exits_build(testing_config)
pytest.raises(RuntimeError)
api.build(os.path.join(metadata_dir, '_bad_patch')
test_version_mismatch_in_variant_does_not_infinitely_rebuild_folder(testing_config)
buildable (test_a recipe version is 2.0)
os.path.join(metadata_dir, '_build_deps_no_infinite_loop', 'test_b')
pytest.raises(DependencyNeedsBuildingError)
api.build(recipe, config=testing_config)
api.build(recipe, config=testing_config)
GetConstructsAsGenbankTests(AppTestCase)
test_emma_2_constructs_with_one_combinatorial(self)
load_json('emma_2_constructs_with_one_combinatorial.json')
self.run_job(json_request=json)
self.assertTrue('zip_file' in response)
GetConstructsAsPDFTests(AppTestCase)
dict(constructsData={})
test_emma_no_annotation_to_pdf(self)
load_json('emma_no_annotation_to_pdf.json')
self.run_job(json_request=json)
self.assertTrue('pdf_file' in response)
SendOrderToEGFTests(AppTestCase)
dict(constructsData={}, customer={})