The bareon.tests.test_build_utils Module

class bareon.tests.test_build_utils.BuildUtilsTestCase(methodName='runTest')

Bases: unittest2.case.TestCase

setUp()

Hook method for setting up the test fixture before exercising it.

test_add_apt_preference(**keywargs)
test_add_apt_preference_multuple_sections(**keywargs)
test_add_apt_preference_no_sections(**keywargs)
test_add_apt_source(**keywargs)
test_add_apt_source_no_section(**keywargs)
test_attach_file_to_loop(**keywargs)
test_clean_apt_settings(**kwargs)
test_clean_dirs(**keywargs)
test_clean_dirs_not_isdir(**keywargs)
test_containerize_bad_container()
test_containerize_gzip(**keywargs)
test_copy_kernel_initramfs(**keywargs)
test_copy_kernel_initramfs_with_remove(**keywargs)
test_create_sparse_tmp_file(**keywargs)
test_deattach_loop(**keywargs)
test_do_build_image_retries_attach_image(**keywargs)
test_do_build_image_retries_attach_image_max_attempts_exceeded(**keywargs)
test_do_post_inst(**keywargs)
test_dump_runtime_uuid(**keywargs)
test_get_free_loop_device_not_found(**keywargs)
test_get_free_loop_device_ok(**keywargs)
test_get_installed_packages(**keywargs)
test_make_targz(**keywargs)
test_make_targz_with_name(**keywargs)
test_populate_basic_dev(**keywargs)
test_pre_apt_get(**keywargs)
test_propagate_host_resolv_conf(**keywargs)
test_recompress_initramfs(**keywargs)
test_remove_files(**keywargs)
test_remove_files_not_exists(**keywargs)
test_restore_host_resolv_conf(**keywargs)
test_rsync_inject(**keywargs)
test_run_apt_get(**keywargs)
test_run_apt_get_eatmydata(**keywargs)
test_run_debootstrap(**keywargs)
test_run_debootstrap_eatmydata(**keywargs)
test_run_mksquashfs(**keywargs)
test_run_mksquashfs_with_name(**keywargs)
test_run_script_in_chroot(**keywargs)
test_set_apt_get_env()
test_shrink_sparse_file(**keywargs)
test_stop_chrooted_processes(**keywargs)
test_strip_filename()
test_suppress_services_start(**keywargs)
test_suppress_services_start_nomkdir(**keywargs)