[ 0s] on X86_64, no limit mem size [ 0s] Using BUILD_ROOT=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.aarch64.0 [ 0s] Using BUILD_ARCH=aarch64:noarch [ 0s] [ 0s] [ 0s] ip-192-168-72-200 started "build python3-mock.spec" at Mon May 15 08:36:24 UTC 2023. [ 0s] [ 0s] [ 0s] processing recipe /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_base_standard/python3-mock-4.0.3-0/python3-mock.spec ... [ 0s] init_buildsystem --configdir /usr/lib/build/configs --cachedir /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache --define jobs 8 --define _smp_mflags -j8 --define _costomized_smp_mflags -j26 --repository /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/repos/tizen_base_standard/aarch64/RPMS --repository http://download.tizen.org/snapshots/tizen/base-tool/tizen-base-tool_20230515.1/repos/standard/packages/ --repository http://download.tizen.org/snapshots/tizen/base-tool/tizen-base-tool_20230515.1/repos/standard/debug/ /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_base_standard/python3-mock-4.0.3-0/python3-mock.spec build ... [ 0s] initializing /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.aarch64.0/.srcfiles.cache ... [ 0s] /usr/lib/build/createdirdeps --oldfile /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.aarch64.0/.srcfiles.cache /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/repos/tizen_base_standard/aarch64/RPMS [ 0s] /usr/lib/build/createrepomddeps --cachedir=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache http://download.tizen.org/snapshots/tizen/base-tool/tizen-base-tool_20230515.1/repos/standard/packages/ [ 1s] /usr/lib/build/createrepomddeps --cachedir=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache http://download.tizen.org/snapshots/tizen/base-tool/tizen-base-tool_20230515.1/repos/standard/debug/ [ 1s] expanding package dependencies... [ 2s] copying qemu [ 2s] [ 2s] registering binfmt handlers for cross build [ 3s] /usr/lib/build/qemu-reg: line 10: interpreter '/usr/bin/qemu-riscv64-binfmt' not found, ignoring, return -1 [ 3s] calculating packages to download... [ 7s] reordering...cycle: libsoftokn3 -> nss [ 7s] breaking dependency nss -> libsoftokn3 [ 8s] reordering done [ 9s] deleting python3-devel [ 9s] [1/107] keeping libmagic-data-5.44-7.106 [ 9s] [2/107] keeping python3-argparse-1.4.0-0 [ 9s] [3/107] cumulate python3-funcsigs-1.0.2-0 [ 9s] [4/107] keeping python3-six-1.16.0-0 [ 9s] [5/107] keeping setup-0.9-6.44 [ 9s] [6/107] keeping filesystem-3.1-4.1 [ 9s] [7/107] keeping glibc-2.30-19.24 [ 9s] [8/107] keeping bash-3.2.57-8.1 [ 9s] [9/107] keeping cpio-2.8-6.1 [ 9s] [10/107] keeping diffutils-3.8-5.1 [ 9s] [11/107] keeping findutils-4.3.8-6.129 [ 9s] [12/107] keeping gdbm-1.8.3-4.140 [ 9s] [13/107] keeping hostname-3.23-3.3 [ 9s] [14/107] keeping libatomic-9.2.0-18.73 [ 9s] [15/107] keeping libattr-2.5.1-5.536 [ 9s] [16/107] keeping libblkid-2.37.4-15.1 [ 9s] [17/107] keeping libbz2-1.0.8-5.410 [ 9s] [18/107] keeping libcap-2.24-4.519 [ 9s] [19/107] keeping libexpat-2.4.1-5.157 [ 9s] [20/107] keeping libffi-3.4.2-7.30 [ 9s] [21/107] keeping libfreebl3-3.87-5.59 [ 9s] [22/107] keeping libgcc-9.2.0-18.73 [ 9s] [23/107] keeping libgomp-9.2.0-18.73 [ 9s] [24/107] keeping libitm-9.2.0-18.73 [ 9s] [25/107] keeping libltdl-2.4.7-6.90 [ 9s] [26/107] keeping liblua-5.1.5-4.17 [ 9s] [27/107] keeping liblzma-5.4.0-6.95 [ 9s] [28/107] keeping libopenssl11-1.1.1t-12.3 [ 9s] [29/107] keeping libpcre-8.45-5.42 [ 9s] [30/107] keeping libpopt-1.16-3.785 [ 9s] [31/107] keeping libpython3_111_0-3.11.2-15.11 [ 9s] [32/107] keeping libsmack-1.3.1-4.514 [ 9s] [33/107] keeping libsmartcols-2.37.4-15.1 [ 9s] [34/107] keeping libsqlite-3.40.1-7.101 [ 9s] [35/107] keeping libuuid-2.37.4-15.1 [ 9s] [36/107] keeping libzstd1-1.5.2-3.102 [ 9s] [37/107] keeping m4-1.4.19-4.1 [ 9s] [38/107] keeping net-tools-2.0_20121208git-6.1 [ 9s] [39/107] keeping nspr-4.35-4.75 [ 9s] [40/107] keeping patch-2.7.6-10.159 [ 9s] [41/107] keeping pkg-config-0.29.2-4.207 [ 9s] [42/107] keeping sed-4.1c-5.1 [ 10s] [43/107] keeping update-alternatives-1.21.18-4.1 [ 10s] [44/107] keeping which-2.17-4.4 [ 10s] [45/107] keeping zlib-1.2.13-4.109 [ 10s] [46/107] keeping build-compare-2015.04.28-3.310 [ 10s] [47/107] keeping qemu-linux-user-x86_64-cross-5.2.0-2.1 [ 10s] [48/107] keeping coreutils-6.9-6.51 [ 10s] [49/107] keeping cpp-9.2.0-18.73 [ 10s] [50/107] keeping gawk-3.1.5-5.1 [ 10s] [51/107] keeping gcc-c++-9.2.0-18.73 [ 10s] [52/107] keeping grep-2.5.2-4.2 [ 10s] [53/107] keeping libacl-2.2.53-4.747 [ 10s] [54/107] keeping libelf-0.189-6.9 [ 10s] [55/107] keeping libgfortran-9.2.0-18.73 [ 10s] [56/107] keeping libmount-2.37.4-15.1 [ 10s] [57/107] keeping libstdc++-9.2.0-18.73 [ 10s] [58/107] keeping make-4.3-3.81 [ 10s] [59/107] keeping nss-certs-3.87-5.59 [ 10s] [60/107] keeping smack-1.3.1-4.514 [ 10s] [61/107] keeping bzip2-1.0.8-5.410 [ 10s] [62/107] keeping libfdisk-2.37.4-15.1 [ 10s] [63/107] keeping libmagic-5.44-7.106 [ 10s] [64/107] keeping libxml2-2.10.2-8.55 [ 10s] [65/107] keeping perl-5.34.0-8.113 [ 10s] [66/107] keeping xz-5.4.0-6.95 [ 10s] [67/107] keeping build-mkbaselibs-20120927-3.3 [ 10s] [68/107] keeping libstdc++-devel-9.2.0-18.73 [ 10s] [69/107] keeping file-5.44-7.106 [ 10s] [70/107] keeping linux-glibc-devel-3.10-6.8 [ 10s] [71/107] keeping tar-1.17-4.1 [ 10s] [72/107] keeping terminfo-base-full-6.2-9.34 [ 10s] [73/107] keeping autoconf-2.71-6.242 [ 10s] [74/107] keeping binutils-2.33.1-10.129 [ 10s] [75/107] keeping glibc-locale-2.30-19.24 [ 10s] [76/107] keeping gzip-1.3.12-3.790 [ 10s] [77/107] keeping libcc1-9.2.0-18.73 [ 10s] [78/107] keeping libubsan-9.2.0-18.73 [ 10s] [79/107] keeping pam-1.1.6-4.3 [ 10s] [80/107] keeping tzdata-2023c-7.1 [ 10s] [81/107] keeping libdw-0.189-6.9 [ 10s] [82/107] keeping libarchive-3.6.2-6.15 [ 10s] [83/107] keeping glibc-devel-2.30-19.24 [ 10s] [84/107] keeping automake-1.16.5-7.102 [ 10s] [85/107] keeping libasm-0.189-6.9 [ 10s] [86/107] keeping libncurses6-6.2-9.34 [ 10s] [87/107] keeping build-20120927-3.3 [ 10s] [88/107] keeping gcc-9.2.0-18.73 [ 10s] [89/107] keeping libncurses-6.2-9.34 [ 10s] [90/107] keeping less-608-4.1 [ 10s] [91/107] keeping libreadline-5.2-4.52 [ 10s] [92/107] keeping qemu-accel-x86_64-aarch64-0.4-11.4 [ 10s] [93/107] keeping libtool-2.4.7-6.90 [ 10s] [94/107] keeping elfutils-0.189-6.9 [ 10s] [95/107] keeping python3-base-3.11.2-15.11 [ 10s] [96/107] keeping util-linux-2.37.4-15.1 [ 10s] [97/107] keeping python3-3.11.2-15.17 [ 10s] [98/107] keeping util-linux-su-2.37.4-15.1 [ 10s] [99/107] keeping python3-setuptools-63.2.0-1 [ 10s] [100/107] keeping python3-pbr-5.9.0-0 [ 10s] [101/107] keeping python3-linecache2-1.0.0-0 [ 10s] [102/107] keeping python3-traceback2-1.4.0-0 [ 10s] [103/107] cumulate python3-unittest2-1.1.0-0 [ 10s] [104/107] keeping nss-3.87-5.59 [ 10s] [105/107] keeping libsoftokn3-3.87-5.59 [ 10s] [106/107] keeping rpm-4.14.1.1-9.232 [ 10s] [107/107] keeping rpm-build-4.14.1.1-9.232 [ 10s] now installing cumulated packages [ 10s] Preparing... ######################################## [ 10s] Updating / installing... [ 10s] python3-unittest2-1.1.0-0 ######################################## [ 10s] python3-funcsigs-1.0.2-0 ######################################## [ 10s] removing nis flags from /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.aarch64.0/etc/nsswitch.conf... [ 10s] now finalizing build dir... [ 11s] ----------------------------------------------------------------- [ 11s] ----- building python3-mock.spec (user abuild) [ 11s] ----------------------------------------------------------------- [ 11s] ----------------------------------------------------------------- [ 11s] + exec rpmbuild --define 'jobs 8' --define '_smp_mflags -j8' --define '_costomized_smp_mflags -j26' --define '_srcdefattr (-,root,root)' --nosignature --target=aarch64-tizen-linux --define '_build_create_debug 1' -ba /home/abuild/rpmbuild/SOURCES/python3-mock.spec [ 11s] Building target platforms: aarch64-tizen-linux [ 11s] Building for target aarch64-tizen-linux [ 11s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.Gzm6o6 [ 11s] + umask 022 [ 11s] + cd /home/abuild/rpmbuild/BUILD [ 11s] + cd /home/abuild/rpmbuild/BUILD [ 11s] + rm -rf mock-4.0.3 [ 11s] + /bin/gzip -dc /home/abuild/rpmbuild/SOURCES/mock-4.0.3.tar.gz [ 11s] + /bin/tar -xof - [ 11s] + STATUS=0 [ 11s] + '[' 0 -ne 0 ']' [ 11s] + cd mock-4.0.3 [ 11s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 11s] + rm mock/tests/testhelpers.py [ 11s] + rm mock/tests/testmock.py [ 11s] + exit 0 [ 11s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.3EeYz7 [ 11s] + umask 022 [ 11s] + cd /home/abuild/rpmbuild/BUILD [ 11s] + cd mock-4.0.3 [ 11s] ++ uname -m [ 11s] + [[ aarch64 == \a\a\r\c\h\6\4 ]] [ 11s] + ref=/usr/lib/rpm [ 11s] + for s in guess sub [ 11s] ++ find -maxdepth 8 -name config.guess [ 11s] + for s in guess sub [ 11s] ++ find -maxdepth 8 -name config.sub [ 11s] + LANG=C [ 11s] + export LANG [ 11s] + unset DISPLAY [ 11s] + CFLAGS='-O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g' [ 11s] + export CFLAGS [ 11s] + CXXFLAGS='-O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g' [ 11s] + export CXXFLAGS [ 11s] + FFLAGS='-O2 -g2 -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong -Wformat-security -fmessage-length=0 -frecord-gcc-switches -Wl,-z,relro,--as-needed -feliminate-unused-debug-types -Wformat -march=armv8-a+fp+simd+crc+crypto -mtune=cortex-a57.cortex-a53 -g -I%_fmoddir' [ 11s] + export FFLAGS [ 11s] + LDFLAGS= [ 11s] + export LDFLAGS [ 11s] + cp /home/abuild/rpmbuild/SOURCES/python3-mock.manifest . [ 11s] + /usr/bin/python3 setup.py build [ 13s] /usr/lib/python3.11/site-packages/setuptools/dist.py:771: UserWarning: Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead [ 13s] warnings.warn( [ 13s] /usr/lib/python3.11/site-packages/setuptools/dist.py:771: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead [ 13s] warnings.warn( [ 13s] /usr/lib/python3.11/site-packages/setuptools/dist.py:771: UserWarning: Usage of dash-separated 'author-email' will not be supported in future versions. Please use the underscore name 'author_email' instead [ 13s] warnings.warn( [ 13s] running build [ 13s] running build_py [ 13s] creating build [ 13s] creating build/lib [ 13s] creating build/lib/mock [ 13s] copying mock/mock.py -> build/lib/mock [ 13s] copying mock/__init__.py -> build/lib/mock [ 13s] copying mock/backports.py -> build/lib/mock [ 13s] + exit 0 [ 13s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.DmD8A7 [ 13s] + umask 022 [ 13s] + cd /home/abuild/rpmbuild/BUILD [ 13s] + cd mock-4.0.3 [ 13s] + LANG=C [ 13s] + export LANG [ 13s] + unset DISPLAY [ 13s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/python3-mock-4.0.3-0.aarch64 [ 13s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/python3-mock-4.0.3-0.aarch64 [ 13s] + /usr/bin/python3 setup.py install --prefix=/usr --root=/home/abuild/rpmbuild/BUILDROOT/python3-mock-4.0.3-0.aarch64 [ 15s] /usr/lib/python3.11/site-packages/setuptools/dist.py:771: UserWarning: Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead [ 15s] warnings.warn( [ 15s] /usr/lib/python3.11/site-packages/setuptools/dist.py:771: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead [ 15s] warnings.warn( [ 15s] /usr/lib/python3.11/site-packages/setuptools/dist.py:771: UserWarning: Usage of dash-separated 'author-email' will not be supported in future versions. Please use the underscore name 'author_email' instead [ 15s] warnings.warn( [ 16s] running install [ 16s] /usr/lib/python3.11/site-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. [ 16s] warnings.warn( [ 16s] running build [ 16s] running build_py [ 16s] running install_lib [ 16s] creating /home/abuild/rpmbuild/BUILDROOT/python3-mock-4.0.3-0.aarch64/usr [ 16s] creating /home/abuild/rpmbuild/BUILDROOT/python3-mock-4.0.3-0.aarch64/usr/lib [ 16s] creating /home/abuild/rpmbuild/BUILDROOT/python3-mock-4.0.3-0.aarch64/usr/lib/python3.11 [ 16s] creating /home/abuild/rpmbuild/BUILDROOT/python3-mock-4.0.3-0.aarch64/usr/lib/python3.11/site-packages [ 16s] creating /home/abuild/rpmbuild/BUILDROOT/python3-mock-4.0.3-0.aarch64/usr/lib/python3.11/site-packages/mock [ 16s] copying build/lib/mock/mock.py -> /home/abuild/rpmbuild/BUILDROOT/python3-mock-4.0.3-0.aarch64/usr/lib/python3.11/site-packages/mock [ 16s] copying build/lib/mock/__init__.py -> /home/abuild/rpmbuild/BUILDROOT/python3-mock-4.0.3-0.aarch64/usr/lib/python3.11/site-packages/mock [ 16s] copying build/lib/mock/backports.py -> /home/abuild/rpmbuild/BUILDROOT/python3-mock-4.0.3-0.aarch64/usr/lib/python3.11/site-packages/mock [ 16s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python3-mock-4.0.3-0.aarch64/usr/lib/python3.11/site-packages/mock/mock.py to mock.cpython-311.pyc [ 16s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python3-mock-4.0.3-0.aarch64/usr/lib/python3.11/site-packages/mock/__init__.py to __init__.cpython-311.pyc [ 16s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python3-mock-4.0.3-0.aarch64/usr/lib/python3.11/site-packages/mock/backports.py to backports.cpython-311.pyc [ 16s] running install_egg_info [ 16s] running egg_info [ 16s] creating mock.egg-info [ 17s] writing mock.egg-info/PKG-INFO [ 17s] writing dependency_links to mock.egg-info/dependency_links.txt [ 17s] writing requirements to mock.egg-info/requires.txt [ 17s] writing top-level names to mock.egg-info/top_level.txt [ 17s] writing manifest file 'mock.egg-info/SOURCES.txt' [ 17s] reading manifest file 'mock.egg-info/SOURCES.txt' [ 17s] reading manifest template 'MANIFEST.in' [ 17s] adding license file 'LICENSE.txt' [ 17s] writing manifest file 'mock.egg-info/SOURCES.txt' [ 17s] Copying mock.egg-info to /home/abuild/rpmbuild/BUILDROOT/python3-mock-4.0.3-0.aarch64/usr/lib/python3.11/site-packages/mock-4.0.3-py3.11.egg-info [ 17s] running install_scripts [ 17s] + /usr/lib/rpm/find-debuginfo.sh -j8 --build-id-seed 4.0.3-0 --unique-debug-src-base python3-mock-4.0.3-0.aarch64 -S debugsourcefiles.list /home/abuild/rpmbuild/BUILD/mock-4.0.3 [ 17s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/mock-4.0.3/python3-mock-debuginfo.manifest [ 17s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/mock-4.0.3/python3-mock-debugsource.manifest [ 17s] + /usr/lib/rpm/check-buildroot [ 17s] + /usr/lib/rpm//brp-compress [ 17s] + /usr/lib/rpm/brp-strip-static-archive /bin/strip [ 17s] + /usr/lib/rpm/brp-python-hardlink [ 18s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/python3-mock-4.0.3-0.aarch64 [ 18s] Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.jHjSh8 [ 18s] + umask 022 [ 18s] + cd /home/abuild/rpmbuild/BUILD [ 18s] + cd mock-4.0.3 [ 18s] + /usr/bin/python3 setup.py test [ 20s] /usr/lib/python3.11/site-packages/setuptools/dist.py:771: UserWarning: Usage of dash-separated 'home-page' will not be supported in future versions. Please use the underscore name 'home_page' instead [ 20s] warnings.warn( [ 20s] /usr/lib/python3.11/site-packages/setuptools/dist.py:771: UserWarning: Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore name 'description_file' instead [ 20s] warnings.warn( [ 20s] /usr/lib/python3.11/site-packages/setuptools/dist.py:771: UserWarning: Usage of dash-separated 'author-email' will not be supported in future versions. Please use the underscore name 'author_email' instead [ 20s] warnings.warn( [ 20s] running test [ 20s] WARNING: Testing via this command is deprecated and will be removed in a future version. Users looking for a generic test entry point independent of test runner are encouraged to use tox. [ 20s] running egg_info [ 20s] writing mock.egg-info/PKG-INFO [ 20s] writing dependency_links to mock.egg-info/dependency_links.txt [ 20s] writing requirements to mock.egg-info/requires.txt [ 20s] writing top-level names to mock.egg-info/top_level.txt [ 20s] reading manifest file 'mock.egg-info/SOURCES.txt' [ 20s] reading manifest template 'MANIFEST.in' [ 20s] adding license file 'LICENSE.txt' [ 20s] writing manifest file 'mock.egg-info/SOURCES.txt' [ 20s] running build_ext [ 21s] test_asyncmock_defaults (mock.tests.testmagicmethods.TestMockingMagicMethods.test_asyncmock_defaults) ... ok [ 21s] test_attributes_and_return_value (mock.tests.testmagicmethods.TestMockingMagicMethods.test_attributes_and_return_value) ... ok [ 21s] test_bound_methods (mock.tests.testmagicmethods.TestMockingMagicMethods.test_bound_methods) ... ok [ 21s] test_changing_magic_set_in_initialization (mock.tests.testmagicmethods.TestMockingMagicMethods.test_changing_magic_set_in_initialization) ... ok [ 21s] test_comparison (mock.tests.testmagicmethods.TestMockingMagicMethods.test_comparison) ... ok [ 22s] test_deleting_magic_methods (mock.tests.testmagicmethods.TestMockingMagicMethods.test_deleting_magic_methods) ... ok [ 22s] test_descriptor_from_class (mock.tests.testmagicmethods.TestMockingMagicMethods.test_descriptor_from_class) ... ok [ 22s] test_dict_methods (mock.tests.testmagicmethods.TestMockingMagicMethods.test_dict_methods) ... ok [ 22s] test_dir (mock.tests.testmagicmethods.TestMockingMagicMethods.test_dir) ... ok [ 22s] test_division (mock.tests.testmagicmethods.TestMockingMagicMethods.test_division) ... ok [ 22s] test_divmod_and_rdivmod (mock.tests.testmagicmethods.TestMockingMagicMethods.test_divmod_and_rdivmod) ... ok [ 22s] test_equality (mock.tests.testmagicmethods.TestMockingMagicMethods.test_equality) ... ok [ 22s] test_hash (mock.tests.testmagicmethods.TestMockingMagicMethods.test_hash) ... ok [ 22s] test_iterable_as_iter_return_value (mock.tests.testmagicmethods.TestMockingMagicMethods.test_iterable_as_iter_return_value) ... ok [ 22s] test_len_contains_iter (mock.tests.testmagicmethods.TestMockingMagicMethods.test_len_contains_iter) ... ok [ 22s] test_magic_in_initialization (mock.tests.testmagicmethods.TestMockingMagicMethods.test_magic_in_initialization) ... ok [ 22s] test_magic_method_reset_mock (mock.tests.testmagicmethods.TestMockingMagicMethods.test_magic_method_reset_mock) ... ok [ 22s] test_magic_method_type (mock.tests.testmagicmethods.TestMockingMagicMethods.test_magic_method_type) ... ok [ 22s] test_magic_method_wrapping (mock.tests.testmagicmethods.TestMockingMagicMethods.test_magic_method_wrapping) ... ok [ 22s] test_magic_methods_and_spec (mock.tests.testmagicmethods.TestMockingMagicMethods.test_magic_methods_and_spec) ... ok [ 22s] test_magic_methods_and_spec_set (mock.tests.testmagicmethods.TestMockingMagicMethods.test_magic_methods_and_spec_set) ... ok [ 22s] test_magic_methods_are_magic_mocks (mock.tests.testmagicmethods.TestMockingMagicMethods.test_magic_methods_are_magic_mocks) ... ok [ 22s] test_magic_methods_fspath (mock.tests.testmagicmethods.TestMockingMagicMethods.test_magic_methods_fspath) ... ok [ 22s] test_magic_methods_isolated_between_mocks (mock.tests.testmagicmethods.TestMockingMagicMethods.test_magic_methods_isolated_between_mocks) ... ok [ 22s] test_magic_mock_equality (mock.tests.testmagicmethods.TestMockingMagicMethods.test_magic_mock_equality) ... ok [ 22s] test_magicmock (mock.tests.testmagicmethods.TestMockingMagicMethods.test_magicmock) ... ok [ 22s] test_magicmock_defaults (mock.tests.testmagicmethods.TestMockingMagicMethods.test_magicmock_defaults) ... ok [ 22s] test_magicmock_del (mock.tests.testmagicmethods.TestMockingMagicMethods.test_magicmock_del) ... ok [ 22s] test_matmul (mock.tests.testmagicmethods.TestMockingMagicMethods.test_matmul) ... ok [ 22s] test_nonzero (mock.tests.testmagicmethods.TestMockingMagicMethods.test_nonzero) ... ok [ 22s] test_numeric (mock.tests.testmagicmethods.TestMockingMagicMethods.test_numeric) ... ok [ 22s] test_repr (mock.tests.testmagicmethods.TestMockingMagicMethods.test_repr) ... ok [ 22s] test_setting_unsupported_magic_method (mock.tests.testmagicmethods.TestMockingMagicMethods.test_setting_unsupported_magic_method) ... ok [ 22s] test_str (mock.tests.testmagicmethods.TestMockingMagicMethods.test_str) ... ok [ 22s] test_add_return_value (mock.tests.testasync.AsyncArguments.test_add_return_value) ... ok [ 22s] test_add_side_effect_coroutine (mock.tests.testasync.AsyncArguments.test_add_side_effect_coroutine) ... ok [ 22s] test_add_side_effect_exception (mock.tests.testasync.AsyncArguments.test_add_side_effect_exception) ... ok [ 22s] test_add_side_effect_exception_iterable (mock.tests.testasync.AsyncArguments.test_add_side_effect_exception_iterable) ... ok [ 22s] test_add_side_effect_iterable (mock.tests.testasync.AsyncArguments.test_add_side_effect_iterable) ... ok [ 22s] test_add_side_effect_normal_function (mock.tests.testasync.AsyncArguments.test_add_side_effect_normal_function) ... ok [ 22s] test_await_args_list_order (mock.tests.testasync.AsyncArguments.test_await_args_list_order) ... ok [ 22s] test_return_value_AsyncMock (mock.tests.testasync.AsyncArguments.test_return_value_AsyncMock) ... ok [ 22s] test_return_value_awaitable (mock.tests.testasync.AsyncArguments.test_return_value_awaitable) ... ok [ 22s] test_side_effect_awaitable_values (mock.tests.testasync.AsyncArguments.test_side_effect_awaitable_values) ... ok [ 22s] test_side_effect_is_AsyncMock (mock.tests.testasync.AsyncArguments.test_side_effect_is_AsyncMock) ... ok [ 22s] test_wraps_coroutine (mock.tests.testasync.AsyncArguments.test_wraps_coroutine) ... ok [ 22s] test_wraps_normal_function (mock.tests.testasync.AsyncArguments.test_wraps_normal_function) ... ok [ 22s] test_create_autospec (mock.tests.testasync.AsyncAutospecTest.test_create_autospec) ... ok [ 22s] test_create_autospec_awaitable_class (mock.tests.testasync.AsyncAutospecTest.test_create_autospec_awaitable_class) ... ok [ 22s] test_create_autospec_instance (mock.tests.testasync.AsyncAutospecTest.test_create_autospec_instance) ... ok [ 22s] test_is_AsyncMock_patch (mock.tests.testasync.AsyncAutospecTest.test_is_AsyncMock_patch) ... ok [ 22s] test_patch_with_autospec (mock.tests.testasync.AsyncAutospecTest.test_patch_with_autospec) ... ok [ 22s] test_context_manager_raise_exception_by_default (mock.tests.testasync.AsyncContextManagerTest.test_context_manager_raise_exception_by_default) ... ok [ 22s] test_mock_customize_async_context_manager (mock.tests.testasync.AsyncContextManagerTest.test_mock_customize_async_context_manager) ... ok [ 22s] test_mock_customize_async_context_manager_with_coroutine (mock.tests.testasync.AsyncContextManagerTest.test_mock_customize_async_context_manager_with_coroutine) ... ok [ 23s] test_mock_supports_async_context_manager (mock.tests.testasync.AsyncContextManagerTest.test_mock_supports_async_context_manager) ... ok [ 23s] test_set_return_value_of_aenter (mock.tests.testasync.AsyncContextManagerTest.test_set_return_value_of_aenter) ... ok [ 23s] test_aiter_set_return_value (mock.tests.testasync.AsyncIteratorTest.test_aiter_set_return_value) ... ok [ 23s] test_mock_aiter_and_anext_asyncmock (mock.tests.testasync.AsyncIteratorTest.test_mock_aiter_and_anext_asyncmock) ... ok [ 23s] test_mock_async_for (mock.tests.testasync.AsyncIteratorTest.test_mock_async_for) ... ok [ 23s] test_async_magic_methods_return_async_mocks (mock.tests.testasync.AsyncMagicMethods.test_async_magic_methods_return_async_mocks) ... ok [ 23s] test_asyncmock_has_sync_magic_methods (mock.tests.testasync.AsyncMagicMethods.test_asyncmock_has_sync_magic_methods) ... ok [ 23s] test_magic_methods_are_async_functions (mock.tests.testasync.AsyncMagicMethods.test_magic_methods_are_async_functions) ... ok [ 23s] test_magicmock_has_async_magic_methods (mock.tests.testasync.AsyncMagicMethods.test_magicmock_has_async_magic_methods) ... ok [ 23s] test_sync_magic_methods_return_magic_mocks (mock.tests.testasync.AsyncMagicMethods.test_sync_magic_methods_return_magic_mocks) ... ok [ 23s] test_assert_any_wait (mock.tests.testasync.AsyncMockAssert.test_assert_any_wait) ... ok [ 23s] test_assert_awaited (mock.tests.testasync.AsyncMockAssert.test_assert_awaited) ... ok [ 23s] test_assert_awaited_but_not_called (mock.tests.testasync.AsyncMockAssert.test_assert_awaited_but_not_called) ... ok [ 23s] test_assert_awaited_once (mock.tests.testasync.AsyncMockAssert.test_assert_awaited_once) ... ok [ 23s] test_assert_awaited_once_with (mock.tests.testasync.AsyncMockAssert.test_assert_awaited_once_with) ... ok [ 23s] test_assert_awaited_with (mock.tests.testasync.AsyncMockAssert.test_assert_awaited_with) ... ok [ 23s] test_assert_called_and_awaited_at_same_time (mock.tests.testasync.AsyncMockAssert.test_assert_called_and_awaited_at_same_time) ... ok [ 23s] test_assert_called_but_not_awaited (mock.tests.testasync.AsyncMockAssert.test_assert_called_but_not_awaited) ... ok [ 23s] test_assert_called_once_and_awaited_twice (mock.tests.testasync.AsyncMockAssert.test_assert_called_once_and_awaited_twice) ... ok [ 23s] test_assert_called_then_awaited (mock.tests.testasync.AsyncMockAssert.test_assert_called_then_awaited) ... ok [ 23s] test_assert_called_twice_and_awaited_once (mock.tests.testasync.AsyncMockAssert.test_assert_called_twice_and_awaited_once) ... ok [ 23s] test_assert_has_awaits_no_order (mock.tests.testasync.AsyncMockAssert.test_assert_has_awaits_no_order) ... ok [ 23s] test_assert_has_awaits_not_matching_spec_error (mock.tests.testasync.AsyncMockAssert.test_assert_has_awaits_not_matching_spec_error) ... ok [ 23s] test_assert_has_awaits_ordered (mock.tests.testasync.AsyncMockAssert.test_assert_has_awaits_ordered) ... ok [ 23s] test_assert_has_calls_not_awaits (mock.tests.testasync.AsyncMockAssert.test_assert_has_calls_not_awaits) ... ok [ 23s] test_assert_has_mock_calls_on_async_mock_no_spec (mock.tests.testasync.AsyncMockAssert.test_assert_has_mock_calls_on_async_mock_no_spec) ... ok [ 23s] test_assert_has_mock_calls_on_async_mock_with_spec (mock.tests.testasync.AsyncMockAssert.test_assert_has_mock_calls_on_async_mock_with_spec) ... ok [ 23s] test_assert_not_awaited (mock.tests.testasync.AsyncMockAssert.test_assert_not_awaited) ... ok [ 24s] test_async_arg_lists (mock.tests.testasync.AsyncMockAssert.test_async_arg_lists) ... ok [ 24s] test_async_method_calls_recorded (mock.tests.testasync.AsyncMockAssert.test_async_method_calls_recorded) ... ok [ 24s] test_awaits_asserts_with_any (mock.tests.testasync.AsyncMockAssert.test_awaits_asserts_with_any) ... ok [ 24s] test_awaits_asserts_with_spec_and_any (mock.tests.testasync.AsyncMockAssert.test_awaits_asserts_with_spec_and_any) ... ok [ 24s] test_future_isfuture (mock.tests.testasync.AsyncMockTest.test_future_isfuture) ... ok [ 24s] test_isawaitable (mock.tests.testasync.AsyncMockTest.test_isawaitable) ... ok [ 24s] test_iscoroutinefunction_default (mock.tests.testasync.AsyncMockTest.test_iscoroutinefunction_default) ... ok [ 24s] test_iscoroutinefunction_function (mock.tests.testasync.AsyncMockTest.test_iscoroutinefunction_function) ... ok [ 24s] test_iscoroutinefunction_normal_function (mock.tests.testasync.AsyncMockTest.test_iscoroutinefunction_normal_function) ... ok [ 24s] test_async_def_cm (mock.tests.testasync.AsyncPatchCMTest.test_async_def_cm) ... ok [ 24s] test_is_AsyncMock_cm (mock.tests.testasync.AsyncPatchCMTest.test_is_AsyncMock_cm) ... ok [ 24s] test_is_async_cm (mock.tests.testasync.AsyncPatchCMTest.test_is_async_cm) ... ok [ 24s] test_is_async_function_cm (mock.tests.testasync.AsyncPatchCMTest.test_is_async_function_cm) ... ok [ 24s] test_async_def_patch (mock.tests.testasync.AsyncPatchDecoratorTest.test_async_def_patch) ... ok [ 24s] test_is_AsyncMock_patch (mock.tests.testasync.AsyncPatchDecoratorTest.test_is_AsyncMock_patch) ... ok [ 24s] test_is_AsyncMock_patch_classmethod (mock.tests.testasync.AsyncPatchDecoratorTest.test_is_AsyncMock_patch_classmethod) ... ok [ 24s] test_is_AsyncMock_patch_staticmethod (mock.tests.testasync.AsyncPatchDecoratorTest.test_is_AsyncMock_patch_staticmethod) ... ok [ 24s] test_is_async_patch (mock.tests.testasync.AsyncPatchDecoratorTest.test_is_async_patch) ... ok [ 24s] test_is_coroutine_function_patch (mock.tests.testasync.AsyncPatchDecoratorTest.test_is_coroutine_function_patch) ... ok [ 24s] test_is_AsyncMock_patch (mock.tests.testasync.AsyncSpecSetTest.test_is_AsyncMock_patch) ... ok [ 24s] test_is_async_AsyncMock (mock.tests.testasync.AsyncSpecSetTest.test_is_async_AsyncMock) ... ok [ 24s] test_is_child_AsyncMock (mock.tests.testasync.AsyncSpecSetTest.test_is_child_AsyncMock) ... ok [ 24s] test_magicmock_lambda_spec (mock.tests.testasync.AsyncSpecSetTest.test_magicmock_lambda_spec) ... ok [ 24s] test_spec_as_normal_kw_AsyncMock (mock.tests.testasync.AsyncSpecTest.test_spec_as_normal_kw_AsyncMock) ... ok [ 24s] test_spec_as_normal_positional_AsyncMock (mock.tests.testasync.AsyncSpecTest.test_spec_as_normal_positional_AsyncMock) ... ok [ 24s] test_spec_async_attributes (mock.tests.testasync.AsyncSpecTest.test_spec_async_attributes) ... ok [ 24s] test_spec_async_mock (mock.tests.testasync.AsyncSpecTest.test_spec_async_mock) ... ok [ 24s] test_spec_mock_type_kw (mock.tests.testasync.AsyncSpecTest.test_spec_mock_type_kw) ... ok [ 24s] test_spec_mock_type_positional (mock.tests.testasync.AsyncSpecTest.test_spec_mock_type_positional) ... ok [ 24s] test_spec_normal_methods_on_class (mock.tests.testasync.AsyncSpecTest.test_spec_normal_methods_on_class) ... ok [ 24s] test_spec_normal_methods_on_class_with_mock (mock.tests.testasync.AsyncSpecTest.test_spec_normal_methods_on_class_with_mock) ... ok [ 24s] test_spec_parent_not_async_attribute_is (mock.tests.testasync.AsyncSpecTest.test_spec_parent_not_async_attribute_is) ... ok [ 24s] test_target_async_spec_not (mock.tests.testasync.AsyncSpecTest.test_target_async_spec_not) ... ok [ 24s] test_target_not_async_spec_is (mock.tests.testasync.AsyncSpecTest.test_target_not_async_spec_is) ... ok [ 24s] test_attributes (mock.tests.testcallable.TestCallable.test_attributes) ... ok [ 24s] test_create_autospec (mock.tests.testcallable.TestCallable.test_create_autospec) ... ok [ 24s] test_create_autospec_instance (mock.tests.testcallable.TestCallable.test_create_autospec_instance) ... ok [ 24s] test_hierarchy (mock.tests.testcallable.TestCallable.test_hierarchy) ... ok [ 24s] test_non_callable (mock.tests.testcallable.TestCallable.test_non_callable) ... ok [ 24s] test_patch_spec (mock.tests.testcallable.TestCallable.test_patch_spec) ... ok [ 24s] test_patch_spec_callable_class (mock.tests.testcallable.TestCallable.test_patch_spec_callable_class) ... ok [ 24s] test_patch_spec_instance (mock.tests.testcallable.TestCallable.test_patch_spec_instance) ... ok [ 24s] test_patch_spec_set (mock.tests.testcallable.TestCallable.test_patch_spec_set) ... ok [ 24s] test_patch_spec_set_instance (mock.tests.testcallable.TestCallable.test_patch_spec_set_instance) ... ok [ 24s] test_subclasses (mock.tests.testcallable.TestCallable.test_subclasses) ... ok [ 24s] testBases (mock.tests.testsentinel.SentinelTest.testBases) ... ok [ 24s] testCopy (mock.tests.testsentinel.SentinelTest.testCopy) ... ok [ 24s] testDEFAULT (mock.tests.testsentinel.SentinelTest.testDEFAULT) ... ok [ 24s] testPickle (mock.tests.testsentinel.SentinelTest.testPickle) ... ok [ 24s] testSentinelName (mock.tests.testsentinel.SentinelTest.testSentinelName) ... ok [ 24s] testSentinels (mock.tests.testsentinel.SentinelTest.testSentinels) ... ok [ 24s] test_attribute_chain_is_maintained (mock.tests.testsealable.TestSealable.test_attribute_chain_is_maintained) ... ok [ 24s] test_attributes_return_more_mocks_by_default (mock.tests.testsealable.TestSealable.test_attributes_return_more_mocks_by_default) ... ok [ 24s] test_call_chain_is_maintained (mock.tests.testsealable.TestSealable.test_call_chain_is_maintained) ... ok [ 24s] test_call_on_defined_sealed_mock_succeeds (mock.tests.testsealable.TestSealable.test_call_on_defined_sealed_mock_succeeds) ... ok [ 24s] test_call_on_sealed_mock_fails (mock.tests.testsealable.TestSealable.test_call_on_sealed_mock_fails) ... ok [ 24s] test_existing_attributes_allowed_after_seal (mock.tests.testsealable.TestSealable.test_existing_attributes_allowed_after_seal) ... ok [ 24s] test_existing_attributes_can_be_set_on_seal (mock.tests.testsealable.TestSealable.test_existing_attributes_can_be_set_on_seal) ... ok [ 24s] test_initialized_attributes_allowed_after_seal (mock.tests.testsealable.TestSealable.test_initialized_attributes_allowed_after_seal) ... ok [ 24s] test_integration_with_spec_att_definition (mock.tests.testsealable.TestSealable.test_integration_with_spec_att_definition) [ 24s] You are not restricted when using mock with spec ... ok [ 24s] test_integration_with_spec_method_definition (mock.tests.testsealable.TestSealable.test_integration_with_spec_method_definition) [ 24s] You need to defin the methods, even if they are in the spec ... ok [ 24s] test_integration_with_spec_method_definition_respects_spec (mock.tests.testsealable.TestSealable.test_integration_with_spec_method_definition_respects_spec) [ 24s] You cannot define methods out of the spec ... ok [ 24s] test_new_attributes_cannot_be_accessed_on_seal (mock.tests.testsealable.TestSealable.test_new_attributes_cannot_be_accessed_on_seal) ... ok [ 24s] test_new_attributes_cannot_be_set_on_child_of_seal (mock.tests.testsealable.TestSealable.test_new_attributes_cannot_be_set_on_child_of_seal) ... ok [ 24s] test_new_attributes_cannot_be_set_on_seal (mock.tests.testsealable.TestSealable.test_new_attributes_cannot_be_set_on_seal) ... ok [ 24s] test_sealed_exception_has_attribute_name (mock.tests.testsealable.TestSealable.test_sealed_exception_has_attribute_name) ... ok [ 24s] test_seals_dont_recurse_on_manual_attributes (mock.tests.testsealable.TestSealable.test_seals_dont_recurse_on_manual_attributes) ... ok [ 24s] test_seals_recurse_on_added_attributes (mock.tests.testsealable.TestSealable.test_seals_recurse_on_added_attributes) ... ok [ 24s] test_seals_recurse_on_magic_methods (mock.tests.testsealable.TestSealable.test_seals_recurse_on_magic_methods) ... ok [ 25s] test_autospec (mock.tests.testpatch.PatchTest.test_autospec) ... ok [ 25s] test_autospec_classmethod (mock.tests.testpatch.PatchTest.test_autospec_classmethod) ... ok [ 25s] test_autospec_function (mock.tests.testpatch.PatchTest.test_autospec_function) ... ok [ 25s] test_autospec_inherits (mock.tests.testpatch.PatchTest.test_autospec_inherits) ... ok [ 25s] test_autospec_keywords (mock.tests.testpatch.PatchTest.test_autospec_keywords) ... ok [ 25s] test_autospec_name (mock.tests.testpatch.PatchTest.test_autospec_name) ... ok [ 25s] test_autospec_staticmethod (mock.tests.testpatch.PatchTest.test_autospec_staticmethod) ... ok [ 25s] test_autospec_with_new (mock.tests.testpatch.PatchTest.test_autospec_with_new) ... ok [ 25s] test_autospec_with_object (mock.tests.testpatch.PatchTest.test_autospec_with_object) ... ok [ 25s] test_callable_spec_as_list (mock.tests.testpatch.PatchTest.test_callable_spec_as_list) ... ok [ 25s] test_cant_set_kwargs_when_passing_a_mock (mock.tests.testpatch.PatchTest.test_cant_set_kwargs_when_passing_a_mock) ... ok [ 25s] test_create_and_specs (mock.tests.testpatch.PatchTest.test_create_and_specs) ... ok [ 25s] test_dotted_but_module_not_loaded (mock.tests.testpatch.PatchTest.test_dotted_but_module_not_loaded) ... ok [ 25s] test_falsey_spec (mock.tests.testpatch.PatchTest.test_falsey_spec) ... ok [ 25s] test_get_only_proxy (mock.tests.testpatch.PatchTest.test_get_only_proxy) ... ok [ 25s] test_get_set_delete_proxy (mock.tests.testpatch.PatchTest.test_get_set_delete_proxy) ... ok [ 25s] test_invalid_target (mock.tests.testpatch.PatchTest.test_invalid_target) ... ok [ 25s] test_mock_calls_with_patch (mock.tests.testpatch.PatchTest.test_mock_calls_with_patch) ... ok [ 25s] test_multiple_patchobject (mock.tests.testpatch.PatchTest.test_multiple_patchobject) ... ok [ 25s] test_multiple_specs (mock.tests.testpatch.PatchTest.test_multiple_specs) ... ok [ 25s] test_name_preserved (mock.tests.testpatch.PatchTest.test_name_preserved) ... ok [ 25s] test_nested_patch_failure (mock.tests.testpatch.PatchTest.test_nested_patch_failure) ... ok [ 25s] test_nested_patch_with_spec_as_list (mock.tests.testpatch.PatchTest.test_nested_patch_with_spec_as_list) ... ok [ 25s] test_new_callable_class_decorating (mock.tests.testpatch.PatchTest.test_new_callable_class_decorating) ... ok [ 25s] test_new_callable_create (mock.tests.testpatch.PatchTest.test_new_callable_create) ... ok [ 25s] test_new_callable_failure (mock.tests.testpatch.PatchTest.test_new_callable_failure) ... ok [ 25s] test_new_callable_incompatible_with_autospec (mock.tests.testpatch.PatchTest.test_new_callable_incompatible_with_autospec) ... ok [ 25s] test_new_callable_incompatible_with_new (mock.tests.testpatch.PatchTest.test_new_callable_incompatible_with_new) ... ok [ 26s] test_new_callable_inherit_for_mocks (mock.tests.testpatch.PatchTest.test_new_callable_inherit_for_mocks) ... ok [ 26s] test_new_callable_inherit_non_mock (mock.tests.testpatch.PatchTest.test_new_callable_inherit_non_mock) ... ok [ 26s] test_new_callable_keyword_arguments (mock.tests.testpatch.PatchTest.test_new_callable_keyword_arguments) ... ok [ 26s] test_new_callable_patch (mock.tests.testpatch.PatchTest.test_new_callable_patch) ... ok [ 26s] test_new_callable_patch_object (mock.tests.testpatch.PatchTest.test_new_callable_patch_object) ... ok [ 26s] test_new_callable_spec (mock.tests.testpatch.PatchTest.test_new_callable_spec) ... ok [ 26s] test_not_callable_spec_as_list (mock.tests.testpatch.PatchTest.test_not_callable_spec_as_list) ... ok [ 26s] test_object_lookup_is_quite_lazy (mock.tests.testpatch.PatchTest.test_object_lookup_is_quite_lazy) ... ok [ 26s] test_patch (mock.tests.testpatch.PatchTest.test_patch) ... ok [ 26s] test_patch_and_patch_dict_stopall (mock.tests.testpatch.PatchTest.test_patch_and_patch_dict_stopall) ... ok [ 26s] test_patch_builtins_without_create (mock.tests.testpatch.PatchTest.test_patch_builtins_without_create) ... ok [ 26s] test_patch_class_acts_with_spec_is_inherited (mock.tests.testpatch.PatchTest.test_patch_class_acts_with_spec_is_inherited) ... ok [ 26s] test_patch_class_attribute (mock.tests.testpatch.PatchTest.test_patch_class_attribute) ... ok [ 26s] test_patch_class_decorator (mock.tests.testpatch.PatchTest.test_patch_class_decorator) ... ok [ 26s] test_patch_dict (mock.tests.testpatch.PatchTest.test_patch_dict) ... ok [ 26s] test_patch_dict_as_context_manager (mock.tests.testpatch.PatchTest.test_patch_dict_as_context_manager) ... ok [ 26s] test_patch_dict_class_decorator (mock.tests.testpatch.PatchTest.test_patch_dict_class_decorator) ... ok [ 26s] test_patch_dict_decorator_resolution (mock.tests.testpatch.PatchTest.test_patch_dict_decorator_resolution) ... ok [ 26s] test_patch_dict_keyword_args (mock.tests.testpatch.PatchTest.test_patch_dict_keyword_args) ... ok [ 26s] test_patch_dict_start_stop (mock.tests.testpatch.PatchTest.test_patch_dict_start_stop) ... ok [ 26s] test_patch_dict_stop_without_start (mock.tests.testpatch.PatchTest.test_patch_dict_stop_without_start) ... ok [ 26s] test_patch_dict_stopall (mock.tests.testpatch.PatchTest.test_patch_dict_stopall) ... ok [ 26s] test_patch_dict_test_prefix (mock.tests.testpatch.PatchTest.test_patch_dict_test_prefix) ... ok [ 26s] test_patch_dict_with_clear (mock.tests.testpatch.PatchTest.test_patch_dict_with_clear) ... ok [ 26s] test_patch_dict_with_container_object (mock.tests.testpatch.PatchTest.test_patch_dict_with_container_object) ... ok [ 26s] test_patch_dict_with_container_object_and_clear (mock.tests.testpatch.PatchTest.test_patch_dict_with_container_object_and_clear) ... ok [ 26s] test_patch_dict_with_string (mock.tests.testpatch.PatchTest.test_patch_dict_with_string) ... ok [ 26s] test_patch_imports_lazily (mock.tests.testpatch.PatchTest.test_patch_imports_lazily) ... ok [ 26s] test_patch_keyword_args (mock.tests.testpatch.PatchTest.test_patch_keyword_args) ... ok [ 26s] test_patch_local (mock.tests.testpatch.PatchTest.test_patch_local) ... ok [ 26s] test_patch_multiple (mock.tests.testpatch.PatchTest.test_patch_multiple) ... ok [ 26s] test_patch_multiple_create (mock.tests.testpatch.PatchTest.test_patch_multiple_create) ... ok [ 26s] test_patch_multiple_create_mocks (mock.tests.testpatch.PatchTest.test_patch_multiple_create_mocks) ... ok [ 26s] test_patch_multiple_create_mocks_different_order (mock.tests.testpatch.PatchTest.test_patch_multiple_create_mocks_different_order) ... ok [ 26s] test_patch_multiple_create_mocks_patcher (mock.tests.testpatch.PatchTest.test_patch_multiple_create_mocks_patcher) ... ok [ 26s] test_patch_multiple_decorating_class (mock.tests.testpatch.PatchTest.test_patch_multiple_decorating_class) ... ok [ 26s] test_patch_multiple_failure (mock.tests.testpatch.PatchTest.test_patch_multiple_failure) ... ok [ 26s] test_patch_multiple_new_callable (mock.tests.testpatch.PatchTest.test_patch_multiple_new_callable) ... ok [ 26s] test_patch_multiple_new_callable_failure (mock.tests.testpatch.PatchTest.test_patch_multiple_new_callable_failure) ... ok [ 26s] test_patch_multiple_no_kwargs (mock.tests.testpatch.PatchTest.test_patch_multiple_no_kwargs) ... ok [ 26s] test_patch_multiple_spec_set (mock.tests.testpatch.PatchTest.test_patch_multiple_spec_set) ... ok [ 26s] test_patch_multiple_stacked_decorators (mock.tests.testpatch.PatchTest.test_patch_multiple_stacked_decorators) ... ok [ 26s] test_patch_multiple_string_subclasses (mock.tests.testpatch.PatchTest.test_patch_multiple_string_subclasses) ... ok [ 26s] test_patch_nested_autospec_repr (mock.tests.testpatch.PatchTest.test_patch_nested_autospec_repr) ... ok [ 26s] test_patch_object_keyword_args (mock.tests.testpatch.PatchTest.test_patch_object_keyword_args) ... ok [ 26s] test_patch_object_with_spec_as_boolean (mock.tests.testpatch.PatchTest.test_patch_object_with_spec_as_boolean) ... ok [ 26s] test_patch_orderdict (mock.tests.testpatch.PatchTest.test_patch_orderdict) ... ok [ 26s] test_patch_propagates_exc_on_exit (mock.tests.testpatch.PatchTest.test_patch_propagates_exc_on_exit) ... ok [ 26s] test_patch_slots (mock.tests.testpatch.PatchTest.test_patch_slots) ... ok [ 26s] test_patch_spec_set (mock.tests.testpatch.PatchTest.test_patch_spec_set) ... ok [ 26s] test_patch_start_stop (mock.tests.testpatch.PatchTest.test_patch_start_stop) ... ok [ 26s] test_patch_stopall (mock.tests.testpatch.PatchTest.test_patch_stopall) ... ok [ 26s] test_patch_test_prefix (mock.tests.testpatch.PatchTest.test_patch_test_prefix) ... ok [ 26s] test_patch_with_create_mocks_non_existent_attributes (mock.tests.testpatch.PatchTest.test_patch_with_create_mocks_non_existent_attributes) ... ok [ 26s] test_patch_with_exception (mock.tests.testpatch.PatchTest.test_patch_with_exception) ... ok [ 26s] test_patch_with_spec (mock.tests.testpatch.PatchTest.test_patch_with_spec) ... ok [ 26s] test_patch_with_spec_as_boolean (mock.tests.testpatch.PatchTest.test_patch_with_spec_as_boolean) ... ok [ 26s] test_patch_with_spec_as_list (mock.tests.testpatch.PatchTest.test_patch_with_spec_as_list) ... ok [ 26s] test_patch_with_spec_mock_repr (mock.tests.testpatch.PatchTest.test_patch_with_spec_mock_repr) ... ok [ 26s] test_patch_with_static_methods (mock.tests.testpatch.PatchTest.test_patch_with_static_methods) ... ok [ 26s] test_patch_wont_create_by_default (mock.tests.testpatch.PatchTest.test_patch_wont_create_by_default) ... ok [ 26s] test_patchobject_class_decorator (mock.tests.testpatch.PatchTest.test_patchobject_class_decorator) ... ok [ 26s] test_patchobject_start_stop (mock.tests.testpatch.PatchTest.test_patchobject_start_stop) ... ok [ 26s] test_patchobject_twice (mock.tests.testpatch.PatchTest.test_patchobject_twice) ... ok [ 26s] test_patchobject_with_create_mocks_non_existent_attributes (mock.tests.testpatch.PatchTest.test_patchobject_with_create_mocks_non_existent_attributes) ... ok [ 26s] test_patchobject_with_default_mock (mock.tests.testpatch.PatchTest.test_patchobject_with_default_mock) ... ok [ 26s] test_patchobject_with_none (mock.tests.testpatch.PatchTest.test_patchobject_with_none) ... ok [ 26s] test_patchobject_with_spec (mock.tests.testpatch.PatchTest.test_patchobject_with_spec) ... ok [ 26s] test_patchobject_with_spec_as_list (mock.tests.testpatch.PatchTest.test_patchobject_with_spec_as_list) ... ok [ 26s] test_patchobject_with_string_as_target (mock.tests.testpatch.PatchTest.test_patchobject_with_string_as_target) ... ok [ 26s] test_patchobject_wont_create_by_default (mock.tests.testpatch.PatchTest.test_patchobject_wont_create_by_default) ... ok [ 26s] test_single_patchobject (mock.tests.testpatch.PatchTest.test_single_patchobject) ... ok [ 26s] test_spec_set_inherit (mock.tests.testpatch.PatchTest.test_spec_set_inherit) ... ok [ 26s] test_spec_set_true (mock.tests.testpatch.PatchTest.test_spec_set_true) ... ok [ 26s] test_special_attrs (mock.tests.testpatch.PatchTest.test_special_attrs) ... ok [ 26s] test_specs_false_instead_of_none (mock.tests.testpatch.PatchTest.test_specs_false_instead_of_none) ... ok [ 26s] test_stop_idempotent (mock.tests.testpatch.PatchTest.test_stop_idempotent) ... ok [ 26s] test_stop_without_start (mock.tests.testpatch.PatchTest.test_stop_without_start) ... ok [ 26s] test_stopall_lifo (mock.tests.testpatch.PatchTest.test_stopall_lifo) ... ok [ 26s] test_tracebacks (mock.tests.testpatch.PatchTest.test_tracebacks) ... ok [ 26s] test_dunder_iter_data (mock.tests.testwith.TestMockOpen.test_dunder_iter_data) ... ok [ 26s] test_explicit_mock (mock.tests.testwith.TestMockOpen.test_explicit_mock) ... ok [ 26s] test_interleaved_reads (mock.tests.testwith.TestMockOpen.test_interleaved_reads) ... ok [ 26s] test_mock_open (mock.tests.testwith.TestMockOpen.test_mock_open) ... ok [ 26s] test_mock_open_context_manager (mock.tests.testwith.TestMockOpen.test_mock_open_context_manager) ... ok [ 26s] test_mock_open_context_manager_multiple_times (mock.tests.testwith.TestMockOpen.test_mock_open_context_manager_multiple_times) ... ok [ 26s] test_mock_open_read_with_argument (mock.tests.testwith.TestMockOpen.test_mock_open_read_with_argument) ... ok [ 26s] test_next_data (mock.tests.testwith.TestMockOpen.test_next_data) ... ok [ 26s] test_overriding_return_values (mock.tests.testwith.TestMockOpen.test_overriding_return_values) ... ok [ 26s] test_read_bytes (mock.tests.testwith.TestMockOpen.test_read_bytes) ... ok [ 26s] test_read_data (mock.tests.testwith.TestMockOpen.test_read_data) ... ok [ 26s] test_readline_bytes (mock.tests.testwith.TestMockOpen.test_readline_bytes) ... ok [ 26s] test_readline_data (mock.tests.testwith.TestMockOpen.test_readline_data) ... ok [ 26s] test_readlines_bytes (mock.tests.testwith.TestMockOpen.test_readlines_bytes) ... ok [ 26s] test_readlines_data (mock.tests.testwith.TestMockOpen.test_readlines_data) ... ok [ 26s] testContextManagerMocking (mock.tests.testwith.WithTest.testContextManagerMocking) ... ok [ 27s] test_context_manager_with_magic_mock (mock.tests.testwith.WithTest.test_context_manager_with_magic_mock) ... ok [ 27s] test_dict_context_manager (mock.tests.testwith.WithTest.test_dict_context_manager) ... ok [ 27s] test_double_patch_instance_method (mock.tests.testwith.WithTest.test_double_patch_instance_method) ... ok [ 27s] test_patch_object_with_statement (mock.tests.testwith.WithTest.test_patch_object_with_statement) ... ok [ 27s] test_with_statement (mock.tests.testwith.WithTest.test_with_statement) ... ok [ 27s] test_with_statement_as (mock.tests.testwith.WithTest.test_with_statement_as) ... ok [ 27s] test_with_statement_exception (mock.tests.testwith.WithTest.test_with_statement_exception) ... ok [ 27s] test_with_statement_imbricated (mock.tests.testwith.WithTest.test_with_statement_imbricated) ... ok [ 27s] test_with_statement_nested (mock.tests.testwith.WithTest.test_with_statement_nested) ... ok [ 27s] test_with_statement_same_attribute (mock.tests.testwith.WithTest.test_with_statement_same_attribute) ... ok [ 27s] test_with_statement_specified (mock.tests.testwith.WithTest.test_with_statement_specified) ... ok [ 27s] [ 27s] ---------------------------------------------------------------------- [ 27s] Ran 287 tests in 5.288s [ 27s] [ 27s] OK [ 27s] + exit 0 [ 27s] Processing files: python3-mock-4.0.3-0.noarch [ 27s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 27s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 27s] [ 27s] Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.3zkNE7 [ 27s] + umask 022 [ 27s] + cd /home/abuild/rpmbuild/BUILD [ 27s] + cd mock-4.0.3 [ 27s] + LICENSEDIR=/home/abuild/rpmbuild/BUILDROOT/python3-mock-4.0.3-0.aarch64/usr/share/licenses/python3-mock [ 27s] + export LC_ALL=C [ 27s] + LC_ALL=C [ 27s] + export LICENSEDIR [ 27s] + /bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT/python3-mock-4.0.3-0.aarch64/usr/share/licenses/python3-mock [ 27s] + cp -pr LICENSE.txt /home/abuild/rpmbuild/BUILDROOT/python3-mock-4.0.3-0.aarch64/usr/share/licenses/python3-mock [ 27s] + exit 0 [ 27s] Provides: python3-mock = 4.0.3-0 [ 27s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 27s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/python3-mock-4.0.3-0.aarch64 [ 27s] Wrote: /home/abuild/rpmbuild/SRPMS/python3-mock-4.0.3-0.src.rpm [ 27s] Wrote: /home/abuild/rpmbuild/RPMS/noarch/python3-mock-4.0.3-0.noarch.rpm [ 27s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.ySq3j7 [ 27s] + umask 022 [ 27s] + cd /home/abuild/rpmbuild/BUILD [ 27s] + cd mock-4.0.3 [ 27s] + /bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/python3-mock-4.0.3-0.aarch64 [ 27s] + exit 0 [ 27s] ... checking for files with abuild user/group [ 27s] ... creating baselibs [ 28s] [ 28s] ip-192-168-72-200 finished "build python3-mock.spec" at Mon May 15 08:36:52 UTC 2023. [ 28s]