[ 0s] on X86_64, no limit mem size [ 1s] Using BUILD_ROOT=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7hl.5 [ 1s] Using BUILD_ARCH=armv7hl:noarch [ 1s] [ 1s] [ 1s] ip-192-168-72-51 started "build python3-mock.spec" at Wed Aug 30 08:10:22 UTC 2023. [ 1s] [ 1s] [ 1s] processing recipe /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_base_dev_standard/python3-mock-4.0.3-0/python3-mock.spec ... [ 1s] 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 -j20 --repository /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/repos/tizen_base_dev_standard/armv7hl/RPMS --repository http://download.tizen.org/snapshots/tizen/base-tool-dev/tizen-base-tool-dev_20230829.1/repos/standard/packages/ --repository http://download.tizen.org/snapshots/tizen/base-tool-dev/tizen-base-tool-dev_20230829.1/repos/standard/debug/ /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/sources/tizen_base_dev_standard/python3-mock-4.0.3-0/python3-mock.spec build ... [ 1s] initializing /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7hl.5/.srcfiles.cache ... [ 1s] /usr/lib/build/createdirdeps --oldfile /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7hl.5/.srcfiles.cache /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/repos/tizen_base_dev_standard/armv7hl/RPMS [ 1s] /usr/lib/build/createrepomddeps --cachedir=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache http://download.tizen.org/snapshots/tizen/base-tool-dev/tizen-base-tool-dev_20230829.1/repos/standard/packages/ [ 2s] /usr/lib/build/createrepomddeps --cachedir=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/cache http://download.tizen.org/snapshots/tizen/base-tool-dev/tizen-base-tool-dev_20230829.1/repos/standard/debug/ [ 3s] expanding package dependencies... [ 3s] copying qemu [ 3s] [ 3s] registering binfmt handlers for cross build [ 3s] calculating packages to download... [ 6s] reordering...cycle: libsoftokn3 -> nss [ 6s] breaking dependency nss -> libsoftokn3 [ 6s] reordering done [ 6s] deleting libasound [ 6s] deleting libasound-devel [ 6s] [1/108] keeping libmagic-data-5.44-1.66 [ 6s] [2/108] cumulate python3-argparse-1.4.0-0 [ 6s] [3/108] cumulate python3-funcsigs-1.0.2-0 [ 6s] [4/108] cumulate python3-six-1.16.0-0 [ 6s] [5/108] keeping setup-0.9-1.8 [ 6s] [6/108] keeping filesystem-3.1-1.1 [ 6s] [7/108] keeping glibc-2.37-5.1 [ 6s] [8/108] keeping libatomic-13.1.0-3.2 [ 6s] [9/108] keeping libgcc-13.1.0-3.2 [ 6s] [10/108] keeping bash-3.2.57-1.2 [ 6s] [11/108] keeping cpio-2.8-1.2 [ 6s] [12/108] keeping diffutils-3.8-1.2 [ 6s] [13/108] keeping findutils-4.3.8-2.22 [ 6s] [14/108] keeping gdbm-1.8.3-1.77 [ 6s] [15/108] keeping hostname-3.23-1.2 [ 6s] [16/108] keeping libattr-2.5.1-1.75 [ 6s] [17/108] keeping libblkid-2.37.4-2.6 [ 6s] [18/108] keeping libbz2-1.0.8-1.74 [ 6s] [19/108] keeping libcap-2.24-1.70 [ 6s] [20/108] cumulate libexpat-2.4.1-1.70 [ 6s] [21/108] cumulate libffi-3.4.2-1.73 [ 6s] [22/108] keeping libfreebl3-3.87-2.7 [ 6s] [23/108] keeping libgfortran-13.1.0-3.2 [ 6s] [24/108] keeping libgomp-13.1.0-3.2 [ 6s] [25/108] keeping libitm-13.1.0-3.2 [ 6s] [26/108] keeping libltdl-2.4.7-1.62 [ 6s] [27/108] keeping liblua-5.1.5-1.26 [ 6s] [28/108] keeping liblzma-5.4.0-1.64 [ 6s] [29/108] keeping libopenssl11-1.1.1t-2.8 [ 6s] [30/108] keeping libpcre-8.45-1.8 [ 6s] [31/108] keeping libpopt-1.16-1.73 [ 6s] [32/108] cumulate libpython3_111_0-3.11.2-2.17 [ 6s] [33/108] keeping libsmack-1.3.1-1.71 [ 6s] [34/108] keeping libsmartcols-2.37.4-2.6 [ 6s] [35/108] keeping libsqlite-3.40.1-1.64 [ 6s] [36/108] keeping libstdc++-13.1.0-3.2 [ 6s] [37/108] keeping libuuid-2.37.4-2.6 [ 6s] [38/108] keeping libzstd1-1.5.2-1.68 [ 6s] [39/108] keeping m4-1.4.19-1.2 [ 6s] [40/108] keeping net-tools-2.0_20121208git-2.1 [ 6s] [41/108] keeping nspr-4.35-1.72 [ 6s] [42/108] keeping patch-2.7.6-1.67 [ 6s] [43/108] keeping pkg-config-0.29.2-1.66 [ 6s] [44/108] keeping sed-4.1c-1.2 [ 6s] [45/108] keeping update-alternatives-1.21.18-1.2 [ 6s] [46/108] keeping which-2.17-1.2 [ 6s] [47/108] keeping zlib-1.2.13-1.75 [ 6s] [48/108] keeping build-compare-2015.04.28-1.25 [ 6s] [49/108] keeping libstdc++-devel-13.1.0-3.2 [ 6s] [50/108] keeping qemu-linux-user-x86_64-cross-5.2.0-2.1 [ 6s] [51/108] keeping cpp-13.1.0-3.2 [ 6s] [52/108] keeping gcc-c++-13.1.0-3.2 [ 6s] [53/108] keeping binutils-libs-2.40-3.16 [ 6s] [54/108] keeping coreutils-6.9-1.16 [ 6s] [55/108] keeping gawk-3.1.5-1.2 [ 6s] [56/108] keeping grep-2.5.2-1.2 [ 6s] [57/108] keeping libacl-2.2.53-1.75 [ 6s] [58/108] keeping libcc1-13.1.0-3.2 [ 6s] [59/108] keeping libelf-0.189-1.49 [ 6s] [60/108] keeping libmount-2.37.4-2.6 [ 6s] [61/108] keeping libubsan-13.1.0-3.2 [ 6s] [62/108] keeping make-4.3-1.16 [ 6s] [63/108] keeping nss-certs-3.87-2.7 [ 6s] [64/108] keeping smack-1.3.1-1.71 [ 6s] [65/108] keeping bzip2-1.0.8-1.74 [ 6s] [66/108] keeping libfdisk-2.37.4-2.6 [ 6s] [67/108] keeping libmagic-5.44-1.66 [ 6s] [68/108] keeping libxml2-2.10.2-1.24 [ 6s] [69/108] keeping perl-5.34.0-1.37 [ 6s] [70/108] keeping xz-5.4.0-1.64 [ 6s] [71/108] keeping build-mkbaselibs-20120927-1.1 [ 7s] [72/108] keeping linux-glibc-devel-5.4-2.22 [ 7s] [73/108] keeping terminfo-base-full-6.2-1.52 [ 7s] [74/108] keeping autoconf-2.71-1.87 [ 7s] [75/108] keeping file-5.44-1.66 [ 7s] [76/108] keeping glibc-locale-2.37-5.1 [ 7s] [77/108] keeping tar-1.17-1.2 [ 7s] [78/108] keeping binutils-2.40-3.16 [ 7s] [79/108] keeping gzip-1.3.12-1.74 [ 7s] [80/108] keeping pam-1.1.6-1.2 [ 7s] [81/108] keeping tzdata-2023c-1.2 [ 7s] [82/108] keeping libdw-0.189-1.49 [ 7s] [83/108] keeping libarchive-3.6.2-1.45 [ 7s] [84/108] keeping gcc-13.1.0-3.2 [ 7s] [85/108] keeping qemu-accel-x86_64-armv7hl-0.4-3.9 [ 7s] [86/108] keeping automake-1.16.5-1.67 [ 7s] [87/108] keeping glibc-devel-2.37-5.1 [ 7s] [88/108] keeping libasm-0.189-1.49 [ 7s] [89/108] keeping libncurses6-6.2-1.52 [ 7s] [90/108] keeping build-20120927-1.1 [ 7s] [91/108] keeping libncurses-6.2-1.52 [ 7s] [92/108] keeping less-608-1.2 [ 7s] [93/108] keeping libreadline-5.2-1.23 [ 7s] [94/108] keeping libtool-2.4.7-1.62 [ 7s] [95/108] keeping elfutils-0.189-1.49 [ 7s] [96/108] cumulate python3-base-3.11.2-2.17 [ 7s] [97/108] keeping util-linux-2.37.4-2.6 [ 7s] [98/108] cumulate python3-3.11.2-1.12 [ 7s] [99/108] keeping util-linux-su-2.37.4-2.6 [ 7s] [100/108] cumulate python3-setuptools-63.2.0-1 [ 7s] [101/108] cumulate python3-pbr-5.9.0-0 [ 7s] [102/108] cumulate python3-linecache2-1.0.0-0 [ 7s] [103/108] cumulate python3-traceback2-1.4.0-0 [ 7s] [104/108] cumulate python3-unittest2-1.1.0-0 [ 7s] [105/108] keeping nss-3.87-2.7 [ 7s] [106/108] keeping libsoftokn3-3.87-2.7 [ 7s] [107/108] keeping rpm-4.14.1.1-2.13 [ 7s] [108/108] keeping rpm-build-4.14.1.1-2.13 [ 7s] now installing cumulated packages [ 7s] Preparing... ######################################## [ 7s] Updating / installing... [ 7s] python3-six-1.16.0-0 ######################################## [ 7s] python3-argparse-1.4.0-0 ######################################## [ 7s] python3-funcsigs-1.0.2-0 ######################################## [ 7s] libpython3_111_0-3.11.2-2.17 ######################################## [ 7s] libffi-3.4.2-1.73 ######################################## [ 7s] libexpat-2.4.1-1.70 ######################################## [ 8s] python3-base-3.11.2-2.17 ######################################## [ 9s] python3-3.11.2-1.12 ######################################## [ 9s] python3-setuptools-63.2.0-1 ######################################## [ 9s] python3-pbr-5.9.0-0 ######################################## [ 9s] python3-linecache2-1.0.0-0 ######################################## [ 9s] python3-traceback2-1.4.0-0 ######################################## [ 9s] python3-unittest2-1.1.0-0 ######################################## [ 9s] removing nis flags from /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.armv7hl.5/etc/nsswitch.conf... [ 9s] now finalizing build dir... [ 10s] ----------------------------------------------------------------- [ 10s] ----- building python3-mock.spec (user abuild) [ 10s] ----------------------------------------------------------------- [ 10s] ----------------------------------------------------------------- [ 10s] + exec rpmbuild --define 'jobs 8' --define '_smp_mflags -j8' --define '_costomized_smp_mflags -j20' --define '_srcdefattr (-,root,root)' --nosignature --target=armv7hl-tizen-linux --define '_build_create_debug 1' -ba /home/abuild/rpmbuild/SOURCES/python3-mock.spec [ 10s] Building target platforms: armv7hl-tizen-linux [ 10s] Building for target armv7hl-tizen-linux [ 10s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.EHF9mR [ 10s] + umask 022 [ 10s] + cd /home/abuild/rpmbuild/BUILD [ 10s] + cd /home/abuild/rpmbuild/BUILD [ 10s] + rm -rf mock-4.0.3 [ 10s] + /bin/gzip -dc /home/abuild/rpmbuild/SOURCES/mock-4.0.3.tar.gz [ 10s] + /bin/tar -xof - [ 10s] + STATUS=0 [ 10s] + '[' 0 -ne 0 ']' [ 10s] + cd mock-4.0.3 [ 10s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 10s] + rm mock/tests/testhelpers.py [ 10s] + rm mock/tests/testmock.py [ 10s] + exit 0 [ 10s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.eNXQXS [ 10s] + umask 022 [ 10s] + cd /home/abuild/rpmbuild/BUILD [ 10s] + cd mock-4.0.3 [ 10s] ++ uname -m [ 10s] + [[ armv7l == \a\a\r\c\h\6\4 ]] [ 10s] + LANG=C [ 10s] + export LANG [ 10s] + unset DISPLAY [ 10s] + 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 --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=hard -mthumb -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g' [ 10s] + export CFLAGS [ 10s] + 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 --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=hard -mthumb -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g' [ 10s] + export CXXFLAGS [ 10s] + 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 --param=ssp-buffer-size=4 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=hard -mthumb -Wl,-O1 -Wl,--hash-style=gnu -Wa,-mimplicit-it=thumb -D_FILE_OFFSET_BITS=64 -g -I%_fmoddir' [ 10s] + export FFLAGS [ 10s] + LDFLAGS= [ 10s] + export LDFLAGS [ 10s] + cp /home/abuild/rpmbuild/SOURCES/python3-mock.manifest . [ 10s] + /usr/bin/python3 setup.py build [ 12s] /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 [ 12s] warnings.warn( [ 12s] /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 [ 12s] warnings.warn( [ 12s] /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 [ 12s] warnings.warn( [ 13s] running build [ 13s] running build_py [ 13s] creating build [ 13s] creating build/lib [ 13s] creating build/lib/mock [ 13s] copying mock/__init__.py -> build/lib/mock [ 13s] copying mock/backports.py -> build/lib/mock [ 13s] copying mock/mock.py -> build/lib/mock [ 13s] + exit 0 [ 13s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.nVYlJa [ 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.arm [ 13s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/python3-mock-4.0.3-0.arm [ 13s] + /usr/bin/python3 setup.py install --prefix=/usr --root=/home/abuild/rpmbuild/BUILDROOT/python3-mock-4.0.3-0.arm [ 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( [ 15s] running install [ 15s] /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. [ 15s] warnings.warn( [ 15s] running build [ 15s] running build_py [ 15s] running install_lib [ 15s] creating /home/abuild/rpmbuild/BUILDROOT/python3-mock-4.0.3-0.arm/usr [ 15s] creating /home/abuild/rpmbuild/BUILDROOT/python3-mock-4.0.3-0.arm/usr/lib [ 15s] creating /home/abuild/rpmbuild/BUILDROOT/python3-mock-4.0.3-0.arm/usr/lib/python3.11 [ 15s] creating /home/abuild/rpmbuild/BUILDROOT/python3-mock-4.0.3-0.arm/usr/lib/python3.11/site-packages [ 15s] creating /home/abuild/rpmbuild/BUILDROOT/python3-mock-4.0.3-0.arm/usr/lib/python3.11/site-packages/mock [ 15s] copying build/lib/mock/__init__.py -> /home/abuild/rpmbuild/BUILDROOT/python3-mock-4.0.3-0.arm/usr/lib/python3.11/site-packages/mock [ 15s] copying build/lib/mock/backports.py -> /home/abuild/rpmbuild/BUILDROOT/python3-mock-4.0.3-0.arm/usr/lib/python3.11/site-packages/mock [ 15s] copying build/lib/mock/mock.py -> /home/abuild/rpmbuild/BUILDROOT/python3-mock-4.0.3-0.arm/usr/lib/python3.11/site-packages/mock [ 15s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python3-mock-4.0.3-0.arm/usr/lib/python3.11/site-packages/mock/__init__.py to __init__.cpython-311.pyc [ 15s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python3-mock-4.0.3-0.arm/usr/lib/python3.11/site-packages/mock/backports.py to backports.cpython-311.pyc [ 15s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python3-mock-4.0.3-0.arm/usr/lib/python3.11/site-packages/mock/mock.py to mock.cpython-311.pyc [ 15s] running install_egg_info [ 16s] running egg_info [ 16s] creating mock.egg-info [ 16s] writing mock.egg-info/PKG-INFO [ 16s] writing dependency_links to mock.egg-info/dependency_links.txt [ 16s] writing requirements to mock.egg-info/requires.txt [ 16s] writing top-level names to mock.egg-info/top_level.txt [ 16s] writing manifest file 'mock.egg-info/SOURCES.txt' [ 16s] reading manifest file 'mock.egg-info/SOURCES.txt' [ 16s] reading manifest template 'MANIFEST.in' [ 16s] adding license file 'LICENSE.txt' [ 16s] writing manifest file 'mock.egg-info/SOURCES.txt' [ 16s] Copying mock.egg-info to /home/abuild/rpmbuild/BUILDROOT/python3-mock-4.0.3-0.arm/usr/lib/python3.11/site-packages/mock-4.0.3-py3.11.egg-info [ 16s] running install_scripts [ 16s] + /usr/lib/rpm/find-debuginfo.sh -j8 --build-id-seed 4.0.3-0 --unique-debug-src-base python3-mock-4.0.3-0.arm -S debugsourcefiles.list /home/abuild/rpmbuild/BUILD/mock-4.0.3 [ 16s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/mock-4.0.3/python3-mock-debuginfo.manifest [ 16s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/mock-4.0.3/python3-mock-debugsource.manifest [ 16s] + /usr/lib/rpm/check-buildroot [ 16s] + /usr/lib/rpm//brp-compress [ 16s] + /usr/lib/rpm/brp-strip-static-archive /bin/strip [ 17s] + /usr/lib/rpm/brp-python-hardlink [ 17s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/python3-mock-4.0.3-0.arm [ 17s] Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.AlfQWz [ 17s] + umask 022 [ 17s] + cd /home/abuild/rpmbuild/BUILD [ 17s] + cd mock-4.0.3 [ 17s] + /usr/bin/python3 setup.py test [ 19s] /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 [ 19s] warnings.warn( [ 19s] /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 [ 19s] warnings.warn( [ 19s] /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 [ 19s] warnings.warn( [ 19s] running test [ 19s] 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. [ 19s] running egg_info [ 19s] writing mock.egg-info/PKG-INFO [ 19s] writing dependency_links to mock.egg-info/dependency_links.txt [ 19s] writing requirements to mock.egg-info/requires.txt [ 19s] writing top-level names to mock.egg-info/top_level.txt [ 19s] reading manifest file 'mock.egg-info/SOURCES.txt' [ 19s] reading manifest template 'MANIFEST.in' [ 19s] adding license file 'LICENSE.txt' [ 19s] writing manifest file 'mock.egg-info/SOURCES.txt' [ 19s] running build_ext [ 20s] test_attributes (mock.tests.testcallable.TestCallable.test_attributes) ... ok [ 20s] test_create_autospec (mock.tests.testcallable.TestCallable.test_create_autospec) ... ok [ 20s] test_create_autospec_instance (mock.tests.testcallable.TestCallable.test_create_autospec_instance) ... ok [ 20s] test_hierarchy (mock.tests.testcallable.TestCallable.test_hierarchy) ... ok [ 20s] test_non_callable (mock.tests.testcallable.TestCallable.test_non_callable) ... ok [ 20s] test_patch_spec (mock.tests.testcallable.TestCallable.test_patch_spec) ... ok [ 20s] test_patch_spec_callable_class (mock.tests.testcallable.TestCallable.test_patch_spec_callable_class) ... ok [ 20s] test_patch_spec_instance (mock.tests.testcallable.TestCallable.test_patch_spec_instance) ... ok [ 21s] test_patch_spec_set (mock.tests.testcallable.TestCallable.test_patch_spec_set) ... ok [ 21s] test_patch_spec_set_instance (mock.tests.testcallable.TestCallable.test_patch_spec_set_instance) ... ok [ 21s] test_subclasses (mock.tests.testcallable.TestCallable.test_subclasses) ... ok [ 21s] test_dunder_iter_data (mock.tests.testwith.TestMockOpen.test_dunder_iter_data) ... ok [ 21s] test_explicit_mock (mock.tests.testwith.TestMockOpen.test_explicit_mock) ... ok [ 21s] test_interleaved_reads (mock.tests.testwith.TestMockOpen.test_interleaved_reads) ... ok [ 21s] test_mock_open (mock.tests.testwith.TestMockOpen.test_mock_open) ... ok [ 21s] test_mock_open_context_manager (mock.tests.testwith.TestMockOpen.test_mock_open_context_manager) ... ok [ 21s] test_mock_open_context_manager_multiple_times (mock.tests.testwith.TestMockOpen.test_mock_open_context_manager_multiple_times) ... ok [ 21s] test_mock_open_read_with_argument (mock.tests.testwith.TestMockOpen.test_mock_open_read_with_argument) ... ok [ 21s] test_next_data (mock.tests.testwith.TestMockOpen.test_next_data) ... ok [ 21s] test_overriding_return_values (mock.tests.testwith.TestMockOpen.test_overriding_return_values) ... ok [ 21s] test_read_bytes (mock.tests.testwith.TestMockOpen.test_read_bytes) ... ok [ 21s] test_read_data (mock.tests.testwith.TestMockOpen.test_read_data) ... ok [ 21s] test_readline_bytes (mock.tests.testwith.TestMockOpen.test_readline_bytes) ... ok [ 21s] test_readline_data (mock.tests.testwith.TestMockOpen.test_readline_data) ... ok [ 21s] test_readlines_bytes (mock.tests.testwith.TestMockOpen.test_readlines_bytes) ... ok [ 21s] test_readlines_data (mock.tests.testwith.TestMockOpen.test_readlines_data) ... ok [ 21s] testContextManagerMocking (mock.tests.testwith.WithTest.testContextManagerMocking) ... ok [ 21s] test_context_manager_with_magic_mock (mock.tests.testwith.WithTest.test_context_manager_with_magic_mock) ... ok [ 21s] test_dict_context_manager (mock.tests.testwith.WithTest.test_dict_context_manager) ... ok [ 21s] test_double_patch_instance_method (mock.tests.testwith.WithTest.test_double_patch_instance_method) ... ok [ 21s] test_patch_object_with_statement (mock.tests.testwith.WithTest.test_patch_object_with_statement) ... ok [ 21s] test_with_statement (mock.tests.testwith.WithTest.test_with_statement) ... ok [ 21s] test_with_statement_as (mock.tests.testwith.WithTest.test_with_statement_as) ... ok [ 21s] test_with_statement_exception (mock.tests.testwith.WithTest.test_with_statement_exception) ... ok [ 21s] test_with_statement_imbricated (mock.tests.testwith.WithTest.test_with_statement_imbricated) ... ok [ 21s] test_with_statement_nested (mock.tests.testwith.WithTest.test_with_statement_nested) ... ok [ 21s] test_with_statement_same_attribute (mock.tests.testwith.WithTest.test_with_statement_same_attribute) ... ok [ 21s] test_with_statement_specified (mock.tests.testwith.WithTest.test_with_statement_specified) ... ok [ 21s] test_add_return_value (mock.tests.testasync.AsyncArguments.test_add_return_value) ... ok [ 21s] test_add_side_effect_coroutine (mock.tests.testasync.AsyncArguments.test_add_side_effect_coroutine) ... ok [ 21s] test_add_side_effect_exception (mock.tests.testasync.AsyncArguments.test_add_side_effect_exception) ... ok [ 21s] test_add_side_effect_exception_iterable (mock.tests.testasync.AsyncArguments.test_add_side_effect_exception_iterable) ... ok [ 21s] test_add_side_effect_iterable (mock.tests.testasync.AsyncArguments.test_add_side_effect_iterable) ... ok [ 21s] test_add_side_effect_normal_function (mock.tests.testasync.AsyncArguments.test_add_side_effect_normal_function) ... ok [ 21s] test_await_args_list_order (mock.tests.testasync.AsyncArguments.test_await_args_list_order) ... ok [ 21s] test_return_value_AsyncMock (mock.tests.testasync.AsyncArguments.test_return_value_AsyncMock) ... ok [ 21s] test_return_value_awaitable (mock.tests.testasync.AsyncArguments.test_return_value_awaitable) ... ok [ 21s] test_side_effect_awaitable_values (mock.tests.testasync.AsyncArguments.test_side_effect_awaitable_values) ... ok [ 21s] test_side_effect_is_AsyncMock (mock.tests.testasync.AsyncArguments.test_side_effect_is_AsyncMock) ... ok [ 21s] test_wraps_coroutine (mock.tests.testasync.AsyncArguments.test_wraps_coroutine) ... ok [ 21s] 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 [ 22s] test_mock_supports_async_context_manager (mock.tests.testasync.AsyncContextManagerTest.test_mock_supports_async_context_manager) ... ok [ 22s] test_set_return_value_of_aenter (mock.tests.testasync.AsyncContextManagerTest.test_set_return_value_of_aenter) ... ok [ 22s] test_aiter_set_return_value (mock.tests.testasync.AsyncIteratorTest.test_aiter_set_return_value) ... ok [ 22s] test_mock_aiter_and_anext_asyncmock (mock.tests.testasync.AsyncIteratorTest.test_mock_aiter_and_anext_asyncmock) ... ok [ 22s] test_mock_async_for (mock.tests.testasync.AsyncIteratorTest.test_mock_async_for) ... ok [ 22s] test_async_magic_methods_return_async_mocks (mock.tests.testasync.AsyncMagicMethods.test_async_magic_methods_return_async_mocks) ... ok [ 22s] test_asyncmock_has_sync_magic_methods (mock.tests.testasync.AsyncMagicMethods.test_asyncmock_has_sync_magic_methods) ... ok [ 22s] test_magic_methods_are_async_functions (mock.tests.testasync.AsyncMagicMethods.test_magic_methods_are_async_functions) ... ok [ 22s] test_magicmock_has_async_magic_methods (mock.tests.testasync.AsyncMagicMethods.test_magicmock_has_async_magic_methods) ... ok [ 22s] test_sync_magic_methods_return_magic_mocks (mock.tests.testasync.AsyncMagicMethods.test_sync_magic_methods_return_magic_mocks) ... ok [ 22s] test_assert_any_wait (mock.tests.testasync.AsyncMockAssert.test_assert_any_wait) ... ok [ 22s] test_assert_awaited (mock.tests.testasync.AsyncMockAssert.test_assert_awaited) ... ok [ 22s] test_assert_awaited_but_not_called (mock.tests.testasync.AsyncMockAssert.test_assert_awaited_but_not_called) ... ok [ 22s] test_assert_awaited_once (mock.tests.testasync.AsyncMockAssert.test_assert_awaited_once) ... ok [ 22s] test_assert_awaited_once_with (mock.tests.testasync.AsyncMockAssert.test_assert_awaited_once_with) ... ok [ 22s] test_assert_awaited_with (mock.tests.testasync.AsyncMockAssert.test_assert_awaited_with) ... ok [ 22s] test_assert_called_and_awaited_at_same_time (mock.tests.testasync.AsyncMockAssert.test_assert_called_and_awaited_at_same_time) ... ok [ 22s] test_assert_called_but_not_awaited (mock.tests.testasync.AsyncMockAssert.test_assert_called_but_not_awaited) ... ok [ 22s] test_assert_called_once_and_awaited_twice (mock.tests.testasync.AsyncMockAssert.test_assert_called_once_and_awaited_twice) ... ok [ 22s] test_assert_called_then_awaited (mock.tests.testasync.AsyncMockAssert.test_assert_called_then_awaited) ... ok [ 22s] test_assert_called_twice_and_awaited_once (mock.tests.testasync.AsyncMockAssert.test_assert_called_twice_and_awaited_once) ... ok [ 22s] test_assert_has_awaits_no_order (mock.tests.testasync.AsyncMockAssert.test_assert_has_awaits_no_order) ... ok [ 22s] test_assert_has_awaits_not_matching_spec_error (mock.tests.testasync.AsyncMockAssert.test_assert_has_awaits_not_matching_spec_error) ... ok [ 22s] 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 [ 23s] test_async_arg_lists (mock.tests.testasync.AsyncMockAssert.test_async_arg_lists) ... ok [ 23s] test_async_method_calls_recorded (mock.tests.testasync.AsyncMockAssert.test_async_method_calls_recorded) ... ok [ 23s] test_awaits_asserts_with_any (mock.tests.testasync.AsyncMockAssert.test_awaits_asserts_with_any) ... ok [ 23s] test_awaits_asserts_with_spec_and_any (mock.tests.testasync.AsyncMockAssert.test_awaits_asserts_with_spec_and_any) ... ok [ 23s] test_future_isfuture (mock.tests.testasync.AsyncMockTest.test_future_isfuture) ... ok [ 23s] test_isawaitable (mock.tests.testasync.AsyncMockTest.test_isawaitable) ... ok [ 23s] test_iscoroutinefunction_default (mock.tests.testasync.AsyncMockTest.test_iscoroutinefunction_default) ... ok [ 23s] test_iscoroutinefunction_function (mock.tests.testasync.AsyncMockTest.test_iscoroutinefunction_function) ... ok [ 23s] test_iscoroutinefunction_normal_function (mock.tests.testasync.AsyncMockTest.test_iscoroutinefunction_normal_function) ... ok [ 23s] test_async_def_cm (mock.tests.testasync.AsyncPatchCMTest.test_async_def_cm) ... ok [ 23s] test_is_AsyncMock_cm (mock.tests.testasync.AsyncPatchCMTest.test_is_AsyncMock_cm) ... ok [ 23s] test_is_async_cm (mock.tests.testasync.AsyncPatchCMTest.test_is_async_cm) ... ok [ 23s] test_is_async_function_cm (mock.tests.testasync.AsyncPatchCMTest.test_is_async_function_cm) ... ok [ 23s] test_async_def_patch (mock.tests.testasync.AsyncPatchDecoratorTest.test_async_def_patch) ... ok [ 23s] test_is_AsyncMock_patch (mock.tests.testasync.AsyncPatchDecoratorTest.test_is_AsyncMock_patch) ... ok [ 23s] test_is_AsyncMock_patch_classmethod (mock.tests.testasync.AsyncPatchDecoratorTest.test_is_AsyncMock_patch_classmethod) ... ok [ 23s] test_is_AsyncMock_patch_staticmethod (mock.tests.testasync.AsyncPatchDecoratorTest.test_is_AsyncMock_patch_staticmethod) ... ok [ 23s] test_is_async_patch (mock.tests.testasync.AsyncPatchDecoratorTest.test_is_async_patch) ... ok [ 23s] test_is_coroutine_function_patch (mock.tests.testasync.AsyncPatchDecoratorTest.test_is_coroutine_function_patch) ... ok [ 23s] test_is_AsyncMock_patch (mock.tests.testasync.AsyncSpecSetTest.test_is_AsyncMock_patch) ... ok [ 23s] test_is_async_AsyncMock (mock.tests.testasync.AsyncSpecSetTest.test_is_async_AsyncMock) ... ok [ 23s] test_is_child_AsyncMock (mock.tests.testasync.AsyncSpecSetTest.test_is_child_AsyncMock) ... ok [ 23s] test_magicmock_lambda_spec (mock.tests.testasync.AsyncSpecSetTest.test_magicmock_lambda_spec) ... ok [ 23s] test_spec_as_normal_kw_AsyncMock (mock.tests.testasync.AsyncSpecTest.test_spec_as_normal_kw_AsyncMock) ... ok [ 23s] test_spec_as_normal_positional_AsyncMock (mock.tests.testasync.AsyncSpecTest.test_spec_as_normal_positional_AsyncMock) ... ok [ 23s] test_spec_async_attributes (mock.tests.testasync.AsyncSpecTest.test_spec_async_attributes) ... ok [ 23s] 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_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 [ 24s] test_asyncmock_defaults (mock.tests.testmagicmethods.TestMockingMagicMethods.test_asyncmock_defaults) ... ok [ 24s] test_attributes_and_return_value (mock.tests.testmagicmethods.TestMockingMagicMethods.test_attributes_and_return_value) ... ok [ 24s] test_bound_methods (mock.tests.testmagicmethods.TestMockingMagicMethods.test_bound_methods) ... ok [ 24s] test_changing_magic_set_in_initialization (mock.tests.testmagicmethods.TestMockingMagicMethods.test_changing_magic_set_in_initialization) ... ok [ 24s] test_comparison (mock.tests.testmagicmethods.TestMockingMagicMethods.test_comparison) ... ok [ 24s] test_deleting_magic_methods (mock.tests.testmagicmethods.TestMockingMagicMethods.test_deleting_magic_methods) ... ok [ 24s] test_descriptor_from_class (mock.tests.testmagicmethods.TestMockingMagicMethods.test_descriptor_from_class) ... ok [ 24s] test_dict_methods (mock.tests.testmagicmethods.TestMockingMagicMethods.test_dict_methods) ... ok [ 24s] test_dir (mock.tests.testmagicmethods.TestMockingMagicMethods.test_dir) ... ok [ 24s] test_division (mock.tests.testmagicmethods.TestMockingMagicMethods.test_division) ... ok [ 24s] test_divmod_and_rdivmod (mock.tests.testmagicmethods.TestMockingMagicMethods.test_divmod_and_rdivmod) ... ok [ 24s] test_equality (mock.tests.testmagicmethods.TestMockingMagicMethods.test_equality) ... ok [ 24s] test_hash (mock.tests.testmagicmethods.TestMockingMagicMethods.test_hash) ... ok [ 24s] test_iterable_as_iter_return_value (mock.tests.testmagicmethods.TestMockingMagicMethods.test_iterable_as_iter_return_value) ... ok [ 24s] test_len_contains_iter (mock.tests.testmagicmethods.TestMockingMagicMethods.test_len_contains_iter) ... ok [ 24s] test_magic_in_initialization (mock.tests.testmagicmethods.TestMockingMagicMethods.test_magic_in_initialization) ... ok [ 24s] test_magic_method_reset_mock (mock.tests.testmagicmethods.TestMockingMagicMethods.test_magic_method_reset_mock) ... ok [ 24s] test_magic_method_type (mock.tests.testmagicmethods.TestMockingMagicMethods.test_magic_method_type) ... ok [ 24s] test_magic_method_wrapping (mock.tests.testmagicmethods.TestMockingMagicMethods.test_magic_method_wrapping) ... ok [ 24s] test_magic_methods_and_spec (mock.tests.testmagicmethods.TestMockingMagicMethods.test_magic_methods_and_spec) ... ok [ 24s] test_magic_methods_and_spec_set (mock.tests.testmagicmethods.TestMockingMagicMethods.test_magic_methods_and_spec_set) ... ok [ 24s] test_magic_methods_are_magic_mocks (mock.tests.testmagicmethods.TestMockingMagicMethods.test_magic_methods_are_magic_mocks) ... ok [ 24s] test_magic_methods_fspath (mock.tests.testmagicmethods.TestMockingMagicMethods.test_magic_methods_fspath) ... ok [ 24s] test_magic_methods_isolated_between_mocks (mock.tests.testmagicmethods.TestMockingMagicMethods.test_magic_methods_isolated_between_mocks) ... ok [ 24s] test_magic_mock_equality (mock.tests.testmagicmethods.TestMockingMagicMethods.test_magic_mock_equality) ... ok [ 24s] test_magicmock (mock.tests.testmagicmethods.TestMockingMagicMethods.test_magicmock) ... ok [ 24s] test_magicmock_defaults (mock.tests.testmagicmethods.TestMockingMagicMethods.test_magicmock_defaults) ... ok [ 24s] test_magicmock_del (mock.tests.testmagicmethods.TestMockingMagicMethods.test_magicmock_del) ... ok [ 24s] test_matmul (mock.tests.testmagicmethods.TestMockingMagicMethods.test_matmul) ... ok [ 24s] test_nonzero (mock.tests.testmagicmethods.TestMockingMagicMethods.test_nonzero) ... ok [ 24s] test_numeric (mock.tests.testmagicmethods.TestMockingMagicMethods.test_numeric) ... ok [ 24s] test_repr (mock.tests.testmagicmethods.TestMockingMagicMethods.test_repr) ... ok [ 24s] test_setting_unsupported_magic_method (mock.tests.testmagicmethods.TestMockingMagicMethods.test_setting_unsupported_magic_method) ... ok [ 24s] test_str (mock.tests.testmagicmethods.TestMockingMagicMethods.test_str) ... 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 [ 25s] test_new_callable_inherit_for_mocks (mock.tests.testpatch.PatchTest.test_new_callable_inherit_for_mocks) ... ok [ 25s] test_new_callable_inherit_non_mock (mock.tests.testpatch.PatchTest.test_new_callable_inherit_non_mock) ... ok [ 25s] test_new_callable_keyword_arguments (mock.tests.testpatch.PatchTest.test_new_callable_keyword_arguments) ... ok [ 25s] test_new_callable_patch (mock.tests.testpatch.PatchTest.test_new_callable_patch) ... ok [ 25s] test_new_callable_patch_object (mock.tests.testpatch.PatchTest.test_new_callable_patch_object) ... ok [ 25s] test_new_callable_spec (mock.tests.testpatch.PatchTest.test_new_callable_spec) ... ok [ 25s] test_not_callable_spec_as_list (mock.tests.testpatch.PatchTest.test_not_callable_spec_as_list) ... ok [ 25s] test_object_lookup_is_quite_lazy (mock.tests.testpatch.PatchTest.test_object_lookup_is_quite_lazy) ... ok [ 25s] test_patch (mock.tests.testpatch.PatchTest.test_patch) ... ok [ 25s] test_patch_and_patch_dict_stopall (mock.tests.testpatch.PatchTest.test_patch_and_patch_dict_stopall) ... ok [ 25s] test_patch_builtins_without_create (mock.tests.testpatch.PatchTest.test_patch_builtins_without_create) ... ok [ 25s] test_patch_class_acts_with_spec_is_inherited (mock.tests.testpatch.PatchTest.test_patch_class_acts_with_spec_is_inherited) ... ok [ 25s] test_patch_class_attribute (mock.tests.testpatch.PatchTest.test_patch_class_attribute) ... ok [ 25s] test_patch_class_decorator (mock.tests.testpatch.PatchTest.test_patch_class_decorator) ... ok [ 25s] test_patch_dict (mock.tests.testpatch.PatchTest.test_patch_dict) ... ok [ 25s] test_patch_dict_as_context_manager (mock.tests.testpatch.PatchTest.test_patch_dict_as_context_manager) ... ok [ 25s] test_patch_dict_class_decorator (mock.tests.testpatch.PatchTest.test_patch_dict_class_decorator) ... ok [ 25s] test_patch_dict_decorator_resolution (mock.tests.testpatch.PatchTest.test_patch_dict_decorator_resolution) ... ok [ 25s] test_patch_dict_keyword_args (mock.tests.testpatch.PatchTest.test_patch_dict_keyword_args) ... ok [ 25s] test_patch_dict_start_stop (mock.tests.testpatch.PatchTest.test_patch_dict_start_stop) ... ok [ 25s] test_patch_dict_stop_without_start (mock.tests.testpatch.PatchTest.test_patch_dict_stop_without_start) ... ok [ 25s] test_patch_dict_stopall (mock.tests.testpatch.PatchTest.test_patch_dict_stopall) ... ok [ 25s] test_patch_dict_test_prefix (mock.tests.testpatch.PatchTest.test_patch_dict_test_prefix) ... ok [ 25s] test_patch_dict_with_clear (mock.tests.testpatch.PatchTest.test_patch_dict_with_clear) ... ok [ 25s] test_patch_dict_with_container_object (mock.tests.testpatch.PatchTest.test_patch_dict_with_container_object) ... ok [ 25s] test_patch_dict_with_container_object_and_clear (mock.tests.testpatch.PatchTest.test_patch_dict_with_container_object_and_clear) ... ok [ 25s] test_patch_dict_with_string (mock.tests.testpatch.PatchTest.test_patch_dict_with_string) ... ok [ 25s] test_patch_imports_lazily (mock.tests.testpatch.PatchTest.test_patch_imports_lazily) ... ok [ 25s] test_patch_keyword_args (mock.tests.testpatch.PatchTest.test_patch_keyword_args) ... ok [ 25s] test_patch_local (mock.tests.testpatch.PatchTest.test_patch_local) ... ok [ 25s] test_patch_multiple (mock.tests.testpatch.PatchTest.test_patch_multiple) ... ok [ 25s] test_patch_multiple_create (mock.tests.testpatch.PatchTest.test_patch_multiple_create) ... ok [ 25s] test_patch_multiple_create_mocks (mock.tests.testpatch.PatchTest.test_patch_multiple_create_mocks) ... ok [ 25s] 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] testBases (mock.tests.testsentinel.SentinelTest.testBases) ... ok [ 26s] testCopy (mock.tests.testsentinel.SentinelTest.testCopy) ... ok [ 26s] testDEFAULT (mock.tests.testsentinel.SentinelTest.testDEFAULT) ... ok [ 26s] testPickle (mock.tests.testsentinel.SentinelTest.testPickle) ... ok [ 26s] testSentinelName (mock.tests.testsentinel.SentinelTest.testSentinelName) ... ok [ 26s] testSentinels (mock.tests.testsentinel.SentinelTest.testSentinels) ... ok [ 26s] [ 26s] ---------------------------------------------------------------------- [ 26s] Ran 287 tests in 5.653s [ 26s] [ 26s] OK [ 26s] + exit 0 [ 26s] Processing files: python3-mock-4.0.3-0.noarch [ 26s] Aptk: PG1hbmlmZXN0PgogPHJlcXVlc3Q+CiAgICA8ZG9tYWluIG5hbWU9Il8iLz4KIDwv [ 26s] cmVxdWVzdD4KPC9tYW5pZmVzdD4K [ 26s] [ 26s] Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.YzLkk0 [ 26s] + umask 022 [ 26s] + cd /home/abuild/rpmbuild/BUILD [ 26s] + cd mock-4.0.3 [ 26s] + LICENSEDIR=/home/abuild/rpmbuild/BUILDROOT/python3-mock-4.0.3-0.arm/usr/share/licenses/python3-mock [ 26s] + export LC_ALL=C [ 26s] + LC_ALL=C [ 26s] + export LICENSEDIR [ 26s] + /bin/mkdir -p /home/abuild/rpmbuild/BUILDROOT/python3-mock-4.0.3-0.arm/usr/share/licenses/python3-mock [ 26s] + cp -pr LICENSE.txt /home/abuild/rpmbuild/BUILDROOT/python3-mock-4.0.3-0.arm/usr/share/licenses/python3-mock [ 26s] + 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.arm [ 27s] Wrote: /home/abuild/rpmbuild/SRPMS/python3-mock-4.0.3-0.src.rpm [ 28s] Wrote: /home/abuild/rpmbuild/RPMS/noarch/python3-mock-4.0.3-0.noarch.rpm [ 28s] Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.3QC4ht [ 28s] + umask 022 [ 28s] + cd /home/abuild/rpmbuild/BUILD [ 28s] + cd mock-4.0.3 [ 28s] + /bin/rm -rf /home/abuild/rpmbuild/BUILDROOT/python3-mock-4.0.3-0.arm [ 28s] + exit 0 [ 28s] ... checking for files with abuild user/group [ 28s] ... creating baselibs [ 29s] [ 29s] ip-192-168-72-51 finished "build python3-mock.spec" at Wed Aug 30 08:10:50 UTC 2023. [ 29s]