[ 0s] on X86_64, no limit mem size [ 0s] Using BUILD_ROOT=/data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.x86_64.13 [ 0s] Using BUILD_ARCH=x86_64:i686:i586:i486:i386:noarch [ 0s] [ 0s] [ 0s] ip-192-168-72-219 started "build python3-mock.spec" at Mon May 15 08:31: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/x86_64/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.x86_64.13/.srcfiles.cache ... [ 0s] /usr/lib/build/createdirdeps --oldfile /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.x86_64.13/.srcfiles.cache /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/repos/tizen_base_standard/x86_64/RPMS [ 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/packages/ [ 2s] /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/ [ 2s] expanding package dependencies... [ 3s] copying qemu [ 3s] [ 3s] calculating packages to download... [ 11s] reordering...cycle: libsoftokn3 -> nss [ 11s] breaking dependency nss -> libsoftokn3 [ 11s] reordering done [ 13s] deleting cmake [ 14s] [1/106] keeping libmagic-data-5.44-7.125 [ 14s] [2/106] cumulate python3-argparse-1.4.0-0 [ 14s] [3/106] cumulate python3-funcsigs-1.0.2-0 [ 14s] [4/106] cumulate python3-six-1.16.0-0 [ 14s] [5/106] keeping setup-0.9-6.44 [ 14s] [6/106] keeping filesystem-3.1-4.1 [ 14s] [7/106] keeping glibc-2.30-19.26 [ 14s] [8/106] keeping bash-3.2.57-8.1 [ 14s] [9/106] keeping cpio-2.8-6.1 [ 14s] [10/106] keeping diffutils-3.8-5.1 [ 14s] [11/106] keeping findutils-4.3.8-6.143 [ 15s] [12/106] keeping gdbm-1.8.3-4.154 [ 15s] [13/106] keeping hostname-3.23-3.3 [ 15s] [14/106] keeping libatomic-9.2.0-18.69 [ 15s] [15/106] keeping libattr-2.5.1-5.416 [ 15s] [16/106] keeping libblkid-2.37.4-15.1 [ 15s] [17/106] keeping libbz2-1.0.8-5.361 [ 15s] [18/106] keeping libcap-2.24-4.406 [ 15s] [19/106] keeping libexpat-2.4.1-5.180 [ 15s] [20/106] cumulate libffi-3.4.2-7.34 [ 15s] [21/106] keeping libfreebl3-3.87-5.61 [ 15s] [22/106] keeping libgcc-9.2.0-18.69 [ 15s] [23/106] keeping libgomp-9.2.0-18.69 [ 15s] [24/106] keeping libitm-9.2.0-18.69 [ 15s] [25/106] keeping libltdl-2.4.7-6.102 [ 15s] [26/106] keeping liblua-5.1.5-4.17 [ 15s] [27/106] keeping liblzma-5.4.0-6.104 [ 15s] [28/106] keeping libopenssl11-1.1.1t-12.4 [ 15s] [29/106] keeping libpcre-8.45-5.80 [ 15s] [30/106] keeping libpopt-1.16-3.673 [ 15s] [31/106] cumulate libpython3_111_0-3.11.2-15.11 [ 15s] [32/106] keeping libquadmath-9.2.0-18.69 [ 15s] [33/106] keeping libsmack-1.3.1-4.415 [ 15s] [34/106] keeping libsmartcols-2.37.4-15.1 [ 15s] [35/106] keeping libsqlite-3.40.1-7.109 [ 15s] [36/106] keeping libuuid-2.37.4-15.1 [ 15s] [37/106] keeping libzstd1-1.5.2-3.120 [ 15s] [38/106] keeping m4-1.4.19-4.1 [ 15s] [39/106] keeping net-tools-2.0_20121208git-6.1 [ 15s] [40/106] keeping nspr-4.35-4.78 [ 15s] [41/106] keeping patch-2.7.6-10.183 [ 15s] [42/106] keeping pkg-config-0.29.2-4.225 [ 15s] [43/106] keeping sed-4.1c-5.1 [ 15s] [44/106] keeping update-alternatives-1.21.18-4.1 [ 15s] [45/106] keeping which-2.17-4.3 [ 15s] [46/106] keeping zlib-1.2.13-4.120 [ 15s] [47/106] keeping build-compare-2015.04.28-3.310 [ 15s] [48/106] keeping coreutils-6.9-6.50 [ 15s] [49/106] keeping cpp-9.2.0-18.69 [ 15s] [50/106] keeping gawk-3.1.5-5.1 [ 15s] [51/106] keeping gcc-c++-9.2.0-18.69 [ 15s] [52/106] keeping grep-2.5.2-4.3 [ 15s] [53/106] keeping libacl-2.2.53-4.630 [ 15s] [54/106] keeping libelf-0.189-6.9 [ 15s] [55/106] keeping libmount-2.37.4-15.1 [ 15s] [56/106] keeping libstdc++-9.2.0-18.69 [ 15s] [57/106] keeping make-4.3-3.77 [ 15s] [58/106] keeping nss-certs-3.87-5.61 [ 15s] [59/106] keeping smack-1.3.1-4.415 [ 15s] [60/106] keeping bzip2-1.0.8-5.361 [ 15s] [61/106] keeping libfdisk-2.37.4-15.1 [ 15s] [62/106] keeping libgfortran-9.2.0-18.69 [ 15s] [63/106] keeping libmagic-5.44-7.125 [ 15s] [64/106] keeping libxml2-2.10.2-8.55 [ 15s] [65/106] keeping perl-5.34.0-8.153 [ 15s] [66/106] keeping xz-5.4.0-6.104 [ 15s] [67/106] keeping build-mkbaselibs-20120927-3.3 [ 15s] [68/106] keeping libstdc++-devel-9.2.0-18.69 [ 15s] [69/106] keeping file-5.44-7.125 [ 15s] [70/106] keeping linux-glibc-devel-3.10-6.9 [ 15s] [71/106] keeping tar-1.17-4.1 [ 15s] [72/106] keeping terminfo-base-full-6.2-9.40 [ 15s] [73/106] keeping autoconf-2.71-6.242 [ 15s] [74/106] keeping binutils-2.33.1-10.148 [ 15s] [75/106] keeping glibc-locale-2.30-19.26 [ 15s] [76/106] keeping gzip-1.3.12-3.675 [ 15s] [77/106] keeping libcc1-9.2.0-18.69 [ 15s] [78/106] keeping libubsan-9.2.0-18.69 [ 15s] [79/106] keeping pam-1.1.6-4.3 [ 15s] [80/106] keeping tzdata-2023c-7.1 [ 15s] [81/106] keeping libdw-0.189-6.9 [ 15s] [82/106] keeping libarchive-3.6.2-6.15 [ 15s] [83/106] keeping glibc-devel-2.30-19.26 [ 15s] [84/106] keeping automake-1.16.5-7.102 [ 15s] [85/106] keeping libasm-0.189-6.9 [ 15s] [86/106] keeping libncurses6-6.2-9.40 [ 15s] [87/106] keeping build-20120927-3.3 [ 15s] [88/106] keeping gcc-9.2.0-18.69 [ 15s] [89/106] keeping libncurses-6.2-9.40 [ 15s] [90/106] keeping less-608-4.1 [ 15s] [91/106] keeping libreadline-5.2-4.49 [ 15s] [92/106] keeping libtool-2.4.7-6.102 [ 15s] [93/106] keeping elfutils-0.189-6.9 [ 16s] [94/106] cumulate python3-base-3.11.2-15.11 [ 16s] [95/106] keeping util-linux-2.37.4-15.1 [ 16s] [96/106] cumulate python3-3.11.2-15.16 [ 16s] [97/106] keeping util-linux-su-2.37.4-15.1 [ 16s] [98/106] cumulate python3-setuptools-63.2.0-1 [ 16s] [99/106] cumulate python3-pbr-5.9.0-0 [ 16s] [100/106] cumulate python3-linecache2-1.0.0-0 [ 16s] [101/106] cumulate python3-traceback2-1.4.0-0 [ 16s] [102/106] cumulate python3-unittest2-1.1.0-0 [ 16s] [103/106] keeping nss-3.87-5.61 [ 16s] [104/106] keeping libsoftokn3-3.87-5.61 [ 16s] [105/106] keeping rpm-4.14.1.1-9.224 [ 16s] [106/106] keeping rpm-build-4.14.1.1-9.224 [ 16s] now installing cumulated packages [ 17s] Preparing... ######################################## [ 17s] Updating / installing... [ 17s] libpython3_111_0-3.11.2-15.11 ######################################## [ 18s] libffi-3.4.2-7.34 ######################################## [ 20s] python3-base-3.11.2-15.11 ######################################## [ 20s] python3-3.11.2-15.16 ######################################## [ 20s] python3-setuptools-63.2.0-1 ######################################## [ 20s] python3-pbr-5.9.0-0 ######################################## [ 21s] python3-linecache2-1.0.0-0 ######################################## [ 21s] python3-traceback2-1.4.0-0 ######################################## [ 21s] python3-six-1.16.0-0 ######################################## [ 21s] python3-argparse-1.4.0-0 ######################################## [ 21s] python3-unittest2-1.1.0-0 ######################################## [ 21s] python3-funcsigs-1.0.2-0 ######################################## [ 22s] removing nis flags from /data/workspace/gbsbuild-ROOT/GBS-ROOT/local/BUILD-ROOTS/scratch.x86_64.13/etc/nsswitch.conf... [ 22s] now finalizing build dir... [ 23s] ----------------------------------------------------------------- [ 23s] ----- building python3-mock.spec (user abuild) [ 23s] ----------------------------------------------------------------- [ 23s] ----------------------------------------------------------------- [ 23s] + exec rpmbuild --define 'jobs 8' --define '_smp_mflags -j8' --define '_costomized_smp_mflags -j26' --define '_srcdefattr (-,root,root)' --nosignature --target=x86_64 --define '_build_create_debug 1' -ba /home/abuild/rpmbuild/SOURCES/python3-mock.spec [ 23s] Building target platforms: x86_64 [ 23s] Building for target x86_64 [ 23s] Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.dRdsx2 [ 23s] + umask 022 [ 23s] + cd /home/abuild/rpmbuild/BUILD [ 23s] + cd /home/abuild/rpmbuild/BUILD [ 23s] + rm -rf mock-4.0.3 [ 23s] + /bin/gzip -dc /home/abuild/rpmbuild/SOURCES/mock-4.0.3.tar.gz [ 23s] + /bin/tar -xof - [ 23s] + STATUS=0 [ 23s] + '[' 0 -ne 0 ']' [ 23s] + cd mock-4.0.3 [ 23s] + /bin/chmod -Rf a+rX,u+w,g-w,o-w . [ 23s] + rm mock/tests/testhelpers.py [ 23s] + rm mock/tests/testmock.py [ 23s] + exit 0 [ 23s] Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.IpCA81 [ 23s] + umask 022 [ 23s] + cd /home/abuild/rpmbuild/BUILD [ 23s] + cd mock-4.0.3 [ 23s] ++ uname -m [ 23s] + [[ x86_64 == \a\a\r\c\h\6\4 ]] [ 23s] + LANG=C [ 23s] + export LANG [ 23s] + unset DISPLAY [ 23s] + 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 --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g' [ 23s] + export CFLAGS [ 23s] + 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 --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g' [ 23s] + export CXXFLAGS [ 23s] + 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 --param=ssp-buffer-size=4 -fdiagnostics-color=never -m64 -march=nehalem -msse4.2 -mfpmath=sse -fasynchronous-unwind-tables -fno-omit-frame-pointer -g -I%_fmoddir' [ 23s] + export FFLAGS [ 23s] + LDFLAGS= [ 23s] + export LDFLAGS [ 23s] + cp /home/abuild/rpmbuild/SOURCES/python3-mock.manifest . [ 24s] + /usr/bin/python3 setup.py build [ 24s] /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 [ 24s] warnings.warn( [ 24s] /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 [ 24s] warnings.warn( [ 24s] /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 [ 24s] warnings.warn( [ 24s] running build [ 24s] running build_py [ 24s] creating build [ 24s] creating build/lib [ 24s] creating build/lib/mock [ 24s] copying mock/mock.py -> build/lib/mock [ 24s] copying mock/__init__.py -> build/lib/mock [ 24s] copying mock/backports.py -> build/lib/mock [ 24s] + exit 0 [ 24s] Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.8NelL2 [ 24s] + umask 022 [ 24s] + cd /home/abuild/rpmbuild/BUILD [ 24s] + cd mock-4.0.3 [ 24s] + LANG=C [ 24s] + export LANG [ 24s] + unset DISPLAY [ 24s] + rm -rf /home/abuild/rpmbuild/BUILDROOT/python3-mock-4.0.3-0.x86_64 [ 24s] + mkdir -p /home/abuild/rpmbuild/BUILDROOT/python3-mock-4.0.3-0.x86_64 [ 24s] + /usr/bin/python3 setup.py install --prefix=/usr --root=/home/abuild/rpmbuild/BUILDROOT/python3-mock-4.0.3-0.x86_64 [ 24s] /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 [ 24s] warnings.warn( [ 24s] /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 [ 24s] warnings.warn( [ 24s] /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 [ 24s] warnings.warn( [ 24s] running install [ 24s] /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. [ 24s] warnings.warn( [ 24s] running build [ 24s] running build_py [ 24s] running install_lib [ 24s] creating /home/abuild/rpmbuild/BUILDROOT/python3-mock-4.0.3-0.x86_64/usr [ 24s] creating /home/abuild/rpmbuild/BUILDROOT/python3-mock-4.0.3-0.x86_64/usr/lib [ 24s] creating /home/abuild/rpmbuild/BUILDROOT/python3-mock-4.0.3-0.x86_64/usr/lib/python3.11 [ 24s] creating /home/abuild/rpmbuild/BUILDROOT/python3-mock-4.0.3-0.x86_64/usr/lib/python3.11/site-packages [ 24s] creating /home/abuild/rpmbuild/BUILDROOT/python3-mock-4.0.3-0.x86_64/usr/lib/python3.11/site-packages/mock [ 24s] copying build/lib/mock/mock.py -> /home/abuild/rpmbuild/BUILDROOT/python3-mock-4.0.3-0.x86_64/usr/lib/python3.11/site-packages/mock [ 24s] copying build/lib/mock/__init__.py -> /home/abuild/rpmbuild/BUILDROOT/python3-mock-4.0.3-0.x86_64/usr/lib/python3.11/site-packages/mock [ 24s] copying build/lib/mock/backports.py -> /home/abuild/rpmbuild/BUILDROOT/python3-mock-4.0.3-0.x86_64/usr/lib/python3.11/site-packages/mock [ 24s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python3-mock-4.0.3-0.x86_64/usr/lib/python3.11/site-packages/mock/mock.py to mock.cpython-311.pyc [ 24s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python3-mock-4.0.3-0.x86_64/usr/lib/python3.11/site-packages/mock/__init__.py to __init__.cpython-311.pyc [ 24s] byte-compiling /home/abuild/rpmbuild/BUILDROOT/python3-mock-4.0.3-0.x86_64/usr/lib/python3.11/site-packages/mock/backports.py to backports.cpython-311.pyc [ 24s] running install_egg_info [ 24s] running egg_info [ 24s] creating mock.egg-info [ 24s] writing mock.egg-info/PKG-INFO [ 24s] writing dependency_links to mock.egg-info/dependency_links.txt [ 24s] writing requirements to mock.egg-info/requires.txt [ 24s] writing top-level names to mock.egg-info/top_level.txt [ 24s] writing manifest file 'mock.egg-info/SOURCES.txt' [ 24s] reading manifest file 'mock.egg-info/SOURCES.txt' [ 24s] reading manifest template 'MANIFEST.in' [ 24s] adding license file 'LICENSE.txt' [ 24s] writing manifest file 'mock.egg-info/SOURCES.txt' [ 24s] Copying mock.egg-info to /home/abuild/rpmbuild/BUILDROOT/python3-mock-4.0.3-0.x86_64/usr/lib/python3.11/site-packages/mock-4.0.3-py3.11.egg-info [ 24s] running install_scripts [ 24s] + /usr/lib/rpm/find-debuginfo.sh -j8 --build-id-seed 4.0.3-0 --unique-debug-src-base python3-mock-4.0.3-0.x86_64 -S debugsourcefiles.list /home/abuild/rpmbuild/BUILD/mock-4.0.3 [ 24s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/mock-4.0.3/python3-mock-debuginfo.manifest [ 24s] + cp /usr/lib/rpm/debug.manifest /home/abuild/rpmbuild/BUILD/mock-4.0.3/python3-mock-debugsource.manifest [ 24s] + /usr/lib/rpm/check-buildroot [ 24s] + /usr/lib/rpm//brp-compress [ 24s] + /usr/lib/rpm/brp-strip-static-archive /bin/strip [ 24s] + /usr/lib/rpm/brp-python-hardlink [ 24s] + /usr/lib/rpm/tizen/find-docs.sh /home/abuild/rpmbuild/BUILDROOT/python3-mock-4.0.3-0.x86_64 [ 25s] Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.lprZy1 [ 25s] + umask 022 [ 25s] + cd /home/abuild/rpmbuild/BUILD [ 25s] + cd mock-4.0.3 [ 25s] + /usr/bin/python3 setup.py test [ 25s] /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 [ 25s] warnings.warn( [ 25s] /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 [ 25s] warnings.warn( [ 25s] /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 [ 25s] warnings.warn( [ 25s] running test [ 25s] 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. [ 25s] running egg_info [ 25s] writing mock.egg-info/PKG-INFO [ 25s] writing dependency_links to mock.egg-info/dependency_links.txt [ 25s] writing requirements to mock.egg-info/requires.txt [ 25s] writing top-level names to mock.egg-info/top_level.txt [ 25s] reading manifest file 'mock.egg-info/SOURCES.txt' [ 25s] reading manifest template 'MANIFEST.in' [ 25s] adding license file 'LICENSE.txt' [ 25s] writing manifest file 'mock.egg-info/SOURCES.txt' [ 25s] running build_ext [ 25s] test_asyncmock_defaults (mock.tests.testmagicmethods.TestMockingMagicMethods.test_asyncmock_defaults) ... ok [ 25s] test_attributes_and_return_value (mock.tests.testmagicmethods.TestMockingMagicMethods.test_attributes_and_return_value) ... ok [ 25s] test_bound_methods (mock.tests.testmagicmethods.TestMockingMagicMethods.test_bound_methods) ... ok [ 25s] test_changing_magic_set_in_initialization (mock.tests.testmagicmethods.TestMockingMagicMethods.test_changing_magic_set_in_initialization) ... ok [ 25s] test_comparison (mock.tests.testmagicmethods.TestMockingMagicMethods.test_comparison) ... ok [ 25s] test_deleting_magic_methods (mock.tests.testmagicmethods.TestMockingMagicMethods.test_deleting_magic_methods) ... ok [ 25s] test_descriptor_from_class (mock.tests.testmagicmethods.TestMockingMagicMethods.test_descriptor_from_class) ... ok [ 25s] test_dict_methods (mock.tests.testmagicmethods.TestMockingMagicMethods.test_dict_methods) ... ok [ 25s] test_dir (mock.tests.testmagicmethods.TestMockingMagicMethods.test_dir) ... ok [ 25s] test_division (mock.tests.testmagicmethods.TestMockingMagicMethods.test_division) ... ok [ 25s] test_divmod_and_rdivmod (mock.tests.testmagicmethods.TestMockingMagicMethods.test_divmod_and_rdivmod) ... ok [ 25s] test_equality (mock.tests.testmagicmethods.TestMockingMagicMethods.test_equality) ... ok [ 25s] test_hash (mock.tests.testmagicmethods.TestMockingMagicMethods.test_hash) ... ok [ 25s] test_iterable_as_iter_return_value (mock.tests.testmagicmethods.TestMockingMagicMethods.test_iterable_as_iter_return_value) ... ok [ 25s] test_len_contains_iter (mock.tests.testmagicmethods.TestMockingMagicMethods.test_len_contains_iter) ... ok [ 25s] test_magic_in_initialization (mock.tests.testmagicmethods.TestMockingMagicMethods.test_magic_in_initialization) ... ok [ 25s] test_magic_method_reset_mock (mock.tests.testmagicmethods.TestMockingMagicMethods.test_magic_method_reset_mock) ... ok [ 25s] test_magic_method_type (mock.tests.testmagicmethods.TestMockingMagicMethods.test_magic_method_type) ... ok [ 25s] test_magic_method_wrapping (mock.tests.testmagicmethods.TestMockingMagicMethods.test_magic_method_wrapping) ... ok [ 25s] test_magic_methods_and_spec (mock.tests.testmagicmethods.TestMockingMagicMethods.test_magic_methods_and_spec) ... ok [ 25s] test_magic_methods_and_spec_set (mock.tests.testmagicmethods.TestMockingMagicMethods.test_magic_methods_and_spec_set) ... ok [ 25s] test_magic_methods_are_magic_mocks (mock.tests.testmagicmethods.TestMockingMagicMethods.test_magic_methods_are_magic_mocks) ... ok [ 25s] test_magic_methods_fspath (mock.tests.testmagicmethods.TestMockingMagicMethods.test_magic_methods_fspath) ... ok [ 25s] test_magic_methods_isolated_between_mocks (mock.tests.testmagicmethods.TestMockingMagicMethods.test_magic_methods_isolated_between_mocks) ... ok [ 25s] test_magic_mock_equality (mock.tests.testmagicmethods.TestMockingMagicMethods.test_magic_mock_equality) ... ok [ 25s] test_magicmock (mock.tests.testmagicmethods.TestMockingMagicMethods.test_magicmock) ... ok [ 25s] test_magicmock_defaults (mock.tests.testmagicmethods.TestMockingMagicMethods.test_magicmock_defaults) ... ok [ 25s] test_magicmock_del (mock.tests.testmagicmethods.TestMockingMagicMethods.test_magicmock_del) ... ok [ 25s] test_matmul (mock.tests.testmagicmethods.TestMockingMagicMethods.test_matmul) ... ok [ 25s] test_nonzero (mock.tests.testmagicmethods.TestMockingMagicMethods.test_nonzero) ... ok [ 25s] test_numeric (mock.tests.testmagicmethods.TestMockingMagicMethods.test_numeric) ... ok [ 25s] test_repr (mock.tests.testmagicmethods.TestMockingMagicMethods.test_repr) ... ok [ 25s] test_setting_unsupported_magic_method (mock.tests.testmagicmethods.TestMockingMagicMethods.test_setting_unsupported_magic_method) ... ok [ 25s] test_str (mock.tests.testmagicmethods.TestMockingMagicMethods.test_str) ... ok [ 25s] test_add_return_value (mock.tests.testasync.AsyncArguments.test_add_return_value) ... ok [ 25s] test_add_side_effect_coroutine (mock.tests.testasync.AsyncArguments.test_add_side_effect_coroutine) ... ok [ 25s] test_add_side_effect_exception (mock.tests.testasync.AsyncArguments.test_add_side_effect_exception) ... ok [ 25s] test_add_side_effect_exception_iterable (mock.tests.testasync.AsyncArguments.test_add_side_effect_exception_iterable) ... ok [ 25s] test_add_side_effect_iterable (mock.tests.testasync.AsyncArguments.test_add_side_effect_iterable) ... ok [ 25s] test_add_side_effect_normal_function (mock.tests.testasync.AsyncArguments.test_add_side_effect_normal_function) ... ok [ 25s] test_await_args_list_order (mock.tests.testasync.AsyncArguments.test_await_args_list_order) ... ok [ 25s] test_return_value_AsyncMock (mock.tests.testasync.AsyncArguments.test_return_value_AsyncMock) ... ok [ 25s] test_return_value_awaitable (mock.tests.testasync.AsyncArguments.test_return_value_awaitable) ... ok [ 25s] test_side_effect_awaitable_values (mock.tests.testasync.AsyncArguments.test_side_effect_awaitable_values) ... ok [ 25s] test_side_effect_is_AsyncMock (mock.tests.testasync.AsyncArguments.test_side_effect_is_AsyncMock) ... ok [ 25s] test_wraps_coroutine (mock.tests.testasync.AsyncArguments.test_wraps_coroutine) ... ok [ 25s] test_wraps_normal_function (mock.tests.testasync.AsyncArguments.test_wraps_normal_function) ... ok [ 25s] test_create_autospec (mock.tests.testasync.AsyncAutospecTest.test_create_autospec) ... ok [ 25s] test_create_autospec_awaitable_class (mock.tests.testasync.AsyncAutospecTest.test_create_autospec_awaitable_class) ... ok [ 25s] test_create_autospec_instance (mock.tests.testasync.AsyncAutospecTest.test_create_autospec_instance) ... ok [ 25s] test_is_AsyncMock_patch (mock.tests.testasync.AsyncAutospecTest.test_is_AsyncMock_patch) ... ok [ 25s] test_patch_with_autospec (mock.tests.testasync.AsyncAutospecTest.test_patch_with_autospec) ... ok [ 25s] test_context_manager_raise_exception_by_default (mock.tests.testasync.AsyncContextManagerTest.test_context_manager_raise_exception_by_default) ... ok [ 25s] test_mock_customize_async_context_manager (mock.tests.testasync.AsyncContextManagerTest.test_mock_customize_async_context_manager) ... ok [ 25s] test_mock_customize_async_context_manager_with_coroutine (mock.tests.testasync.AsyncContextManagerTest.test_mock_customize_async_context_manager_with_coroutine) ... ok [ 25s] test_mock_supports_async_context_manager (mock.tests.testasync.AsyncContextManagerTest.test_mock_supports_async_context_manager) ... ok [ 25s] test_set_return_value_of_aenter (mock.tests.testasync.AsyncContextManagerTest.test_set_return_value_of_aenter) ... ok [ 25s] test_aiter_set_return_value (mock.tests.testasync.AsyncIteratorTest.test_aiter_set_return_value) ... ok [ 25s] test_mock_aiter_and_anext_asyncmock (mock.tests.testasync.AsyncIteratorTest.test_mock_aiter_and_anext_asyncmock) ... ok [ 25s] test_mock_async_for (mock.tests.testasync.AsyncIteratorTest.test_mock_async_for) ... ok [ 25s] test_async_magic_methods_return_async_mocks (mock.tests.testasync.AsyncMagicMethods.test_async_magic_methods_return_async_mocks) ... ok [ 25s] test_asyncmock_has_sync_magic_methods (mock.tests.testasync.AsyncMagicMethods.test_asyncmock_has_sync_magic_methods) ... ok [ 25s] test_magic_methods_are_async_functions (mock.tests.testasync.AsyncMagicMethods.test_magic_methods_are_async_functions) ... ok [ 25s] test_magicmock_has_async_magic_methods (mock.tests.testasync.AsyncMagicMethods.test_magicmock_has_async_magic_methods) ... ok [ 25s] test_sync_magic_methods_return_magic_mocks (mock.tests.testasync.AsyncMagicMethods.test_sync_magic_methods_return_magic_mocks) ... ok [ 25s] test_assert_any_wait (mock.tests.testasync.AsyncMockAssert.test_assert_any_wait) ... ok [ 25s] test_assert_awaited (mock.tests.testasync.AsyncMockAssert.test_assert_awaited) ... ok [ 25s] test_assert_awaited_but_not_called (mock.tests.testasync.AsyncMockAssert.test_assert_awaited_but_not_called) ... ok [ 25s] test_assert_awaited_once (mock.tests.testasync.AsyncMockAssert.test_assert_awaited_once) ... ok [ 25s] test_assert_awaited_once_with (mock.tests.testasync.AsyncMockAssert.test_assert_awaited_once_with) ... ok [ 25s] test_assert_awaited_with (mock.tests.testasync.AsyncMockAssert.test_assert_awaited_with) ... ok [ 25s] test_assert_called_and_awaited_at_same_time (mock.tests.testasync.AsyncMockAssert.test_assert_called_and_awaited_at_same_time) ... ok [ 25s] test_assert_called_but_not_awaited (mock.tests.testasync.AsyncMockAssert.test_assert_called_but_not_awaited) ... ok [ 25s] test_assert_called_once_and_awaited_twice (mock.tests.testasync.AsyncMockAssert.test_assert_called_once_and_awaited_twice) ... ok [ 25s] test_assert_called_then_awaited (mock.tests.testasync.AsyncMockAssert.test_assert_called_then_awaited) ... ok [ 25s] test_assert_called_twice_and_awaited_once (mock.tests.testasync.AsyncMockAssert.test_assert_called_twice_and_awaited_once) ... ok [ 25s] test_assert_has_awaits_no_order (mock.tests.testasync.AsyncMockAssert.test_assert_has_awaits_no_order) ... ok [ 25s] test_assert_has_awaits_not_matching_spec_error (mock.tests.testasync.AsyncMockAssert.test_assert_has_awaits_not_matching_spec_error) ... ok [ 25s] test_assert_has_awaits_ordered (mock.tests.testasync.AsyncMockAssert.test_assert_has_awaits_ordered) ... ok [ 25s] test_assert_has_calls_not_awaits (mock.tests.testasync.AsyncMockAssert.test_assert_has_calls_not_awaits) ... ok [ 25s] 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 [ 25s] 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 [ 25s] test_assert_not_awaited (mock.tests.testasync.AsyncMockAssert.test_assert_not_awaited) ... ok [ 25s] test_async_arg_lists (mock.tests.testasync.AsyncMockAssert.test_async_arg_lists) ... ok [ 25s] test_async_method_calls_recorded (mock.tests.testasync.AsyncMockAssert.test_async_method_calls_recorded) ... ok [ 25s] test_awaits_asserts_with_any (mock.tests.testasync.AsyncMockAssert.test_awaits_asserts_with_any) ... ok [ 25s] test_awaits_asserts_with_spec_and_any (mock.tests.testasync.AsyncMockAssert.test_awaits_asserts_with_spec_and_any) ... ok [ 25s] test_future_isfuture (mock.tests.testasync.AsyncMockTest.test_future_isfuture) ... ok [ 25s] test_isawaitable (mock.tests.testasync.AsyncMockTest.test_isawaitable) ... ok [ 25s] test_iscoroutinefunction_default (mock.tests.testasync.AsyncMockTest.test_iscoroutinefunction_default) ... ok [ 25s] test_iscoroutinefunction_function (mock.tests.testasync.AsyncMockTest.test_iscoroutinefunction_function) ... ok [ 25s] test_iscoroutinefunction_normal_function (mock.tests.testasync.AsyncMockTest.test_iscoroutinefunction_normal_function) ... ok [ 25s] test_async_def_cm (mock.tests.testasync.AsyncPatchCMTest.test_async_def_cm) ... ok [ 25s] test_is_AsyncMock_cm (mock.tests.testasync.AsyncPatchCMTest.test_is_AsyncMock_cm) ... ok [ 25s] test_is_async_cm (mock.tests.testasync.AsyncPatchCMTest.test_is_async_cm) ... ok [ 25s] test_is_async_function_cm (mock.tests.testasync.AsyncPatchCMTest.test_is_async_function_cm) ... ok [ 25s] test_async_def_patch (mock.tests.testasync.AsyncPatchDecoratorTest.test_async_def_patch) ... ok [ 25s] test_is_AsyncMock_patch (mock.tests.testasync.AsyncPatchDecoratorTest.test_is_AsyncMock_patch) ... ok [ 25s] test_is_AsyncMock_patch_classmethod (mock.tests.testasync.AsyncPatchDecoratorTest.test_is_AsyncMock_patch_classmethod) ... ok [ 25s] test_is_AsyncMock_patch_staticmethod (mock.tests.testasync.AsyncPatchDecoratorTest.test_is_AsyncMock_patch_staticmethod) ... ok [ 25s] test_is_async_patch (mock.tests.testasync.AsyncPatchDecoratorTest.test_is_async_patch) ... ok [ 25s] test_is_coroutine_function_patch (mock.tests.testasync.AsyncPatchDecoratorTest.test_is_coroutine_function_patch) ... ok [ 25s] test_is_AsyncMock_patch (mock.tests.testasync.AsyncSpecSetTest.test_is_AsyncMock_patch) ... ok [ 25s] test_is_async_AsyncMock (mock.tests.testasync.AsyncSpecSetTest.test_is_async_AsyncMock) ... ok [ 25s] test_is_child_AsyncMock (mock.tests.testasync.AsyncSpecSetTest.test_is_child_AsyncMock) ... ok [ 25s] test_magicmock_lambda_spec (mock.tests.testasync.AsyncSpecSetTest.test_magicmock_lambda_spec) ... ok [ 25s] test_spec_as_normal_kw_AsyncMock (mock.tests.testasync.AsyncSpecTest.test_spec_as_normal_kw_AsyncMock) ... ok [ 25s] test_spec_as_normal_positional_AsyncMock (mock.tests.testasync.AsyncSpecTest.test_spec_as_normal_positional_AsyncMock) ... ok [ 25s] test_spec_async_attributes (mock.tests.testasync.AsyncSpecTest.test_spec_async_attributes) ... ok [ 25s] test_spec_async_mock (mock.tests.testasync.AsyncSpecTest.test_spec_async_mock) ... ok [ 25s] test_spec_mock_type_kw (mock.tests.testasync.AsyncSpecTest.test_spec_mock_type_kw) ... ok [ 26s] test_spec_mock_type_positional (mock.tests.testasync.AsyncSpecTest.test_spec_mock_type_positional) ... ok [ 26s] test_spec_normal_methods_on_class (mock.tests.testasync.AsyncSpecTest.test_spec_normal_methods_on_class) ... ok [ 26s] test_spec_normal_methods_on_class_with_mock (mock.tests.testasync.AsyncSpecTest.test_spec_normal_methods_on_class_with_mock) ... ok [ 26s] test_spec_parent_not_async_attribute_is (mock.tests.testasync.AsyncSpecTest.test_spec_parent_not_async_attribute_is) ... ok [ 26s] test_target_async_spec_not (mock.tests.testasync.AsyncSpecTest.test_target_async_spec_not) ... ok [ 26s] test_target_not_async_spec_is (mock.tests.testasync.AsyncSpecTest.test_target_not_async_spec_is) ... ok [ 26s] test_attributes (mock.tests.testcallable.TestCallable.test_attributes) ... ok [ 26s] test_create_autospec (mock.tests.testcallable.TestCallable.test_create_autospec) ... ok [ 26s] test_create_autospec_instance (mock.tests.testcallable.TestCallable.test_create_autospec_instance) ... ok [ 26s] test_hierarchy (mock.tests.testcallable.TestCallable.test_hierarchy) ... ok [ 26s] test_non_callable (mock.tests.testcallable.TestCallable.test_non_callable) ... ok [ 26s] test_patch_spec (mock.tests.testcallable.TestCallable.test_patch_spec) ... ok [ 26s] test_patch_spec_callable_class (mock.tests.testcallable.TestCallable.test_patch_spec_callable_class) ... ok [ 26s] test_patch_spec_instance (mock.tests.testcallable.TestCallable.test_patch_spec_instance) ... ok [ 26s] test_patch_spec_set (mock.tests.testcallable.TestCallable.test_patch_spec_set) ... ok [ 26s] test_patch_spec_set_instance (mock.tests.testcallable.TestCallable.test_patch_spec_set_instance) ... ok [ 26s] test_subclasses (mock.tests.testcallable.TestCallable.test_subclasses) ... 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] test_attribute_chain_is_maintained (mock.tests.testsealable.TestSealable.test_attribute_chain_is_maintained) ... ok [ 26s] test_attributes_return_more_mocks_by_default (mock.tests.testsealable.TestSealable.test_attributes_return_more_mocks_by_default) ... ok [ 26s] test_call_chain_is_maintained (mock.tests.testsealable.TestSealable.test_call_chain_is_maintained) ... ok [ 26s] test_call_on_defined_sealed_mock_succeeds (mock.tests.testsealable.TestSealable.test_call_on_defined_sealed_mock_succeeds) ... ok [ 26s] test_call_on_sealed_mock_fails (mock.tests.testsealable.TestSealable.test_call_on_sealed_mock_fails) ... ok [ 26s] test_existing_attributes_allowed_after_seal (mock.tests.testsealable.TestSealable.test_existing_attributes_allowed_after_seal) ... ok [ 26s] test_existing_attributes_can_be_set_on_seal (mock.tests.testsealable.TestSealable.test_existing_attributes_can_be_set_on_seal) ... ok [ 26s] test_initialized_attributes_allowed_after_seal (mock.tests.testsealable.TestSealable.test_initialized_attributes_allowed_after_seal) ... ok [ 26s] test_integration_with_spec_att_definition (mock.tests.testsealable.TestSealable.test_integration_with_spec_att_definition) [ 26s] You are not restricted when using mock with spec ... ok [ 26s] test_integration_with_spec_method_definition (mock.tests.testsealable.TestSealable.test_integration_with_spec_method_definition) [ 26s] You need to defin the methods, even if they are in the spec ... ok [ 26s] test_integration_with_spec_method_definition_respects_spec (mock.tests.testsealable.TestSealable.test_integration_with_spec_method_definition_respects_spec) [ 26s] You cannot define methods out of the spec ... ok [ 26s] test_new_attributes_cannot_be_accessed_on_seal (mock.tests.testsealable.TestSealable.test_new_attributes_cannot_be_accessed_on_seal) ... ok [ 26s] 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 [ 26s] test_new_attributes_cannot_be_set_on_seal (mock.tests.testsealable.TestSealable.test_new_attributes_cannot_be_set_on_seal) ... ok [ 26s] test_sealed_exception_has_attribute_name (mock.tests.testsealable.TestSealable.test_sealed_exception_has_attribute_name) ... ok [ 26s] test_seals_dont_recurse_on_manual_attributes (mock.tests.testsealable.TestSealable.test_seals_dont_recurse_on_manual_attributes) ... ok [ 26s] test_seals_recurse_on_added_attributes (mock.tests.testsealable.TestSealable.test_seals_recurse_on_added_attributes) ... ok [ 26s] test_seals_recurse_on_magic_methods (mock.tests.testsealable.TestSealable.test_seals_recurse_on_magic_methods) ... ok [ 26s] test_autospec (mock.tests.testpatch.PatchTest.test_autospec) ... ok [ 26s] test_autospec_classmethod (mock.tests.testpatch.PatchTest.test_autospec_classmethod) ... ok [ 26s] test_autospec_function (mock.tests.testpatch.PatchTest.test_autospec_function) ... ok [ 26s] test_autospec_inherits (mock.tests.testpatch.PatchTest.test_autospec_inherits) ... ok [ 26s] test_autospec_keywords (mock.tests.testpatch.PatchTest.test_autospec_keywords) ... ok [ 26s] test_autospec_name (mock.tests.testpatch.PatchTest.test_autospec_name) ... ok [ 26s] test_autospec_staticmethod (mock.tests.testpatch.PatchTest.test_autospec_staticmethod) ... ok [ 26s] test_autospec_with_new (mock.tests.testpatch.PatchTest.test_autospec_with_new) ... ok [ 26s] test_autospec_with_object (mock.tests.testpatch.PatchTest.test_autospec_with_object) ... ok [ 26s] test_callable_spec_as_list (mock.tests.testpatch.PatchTest.test_callable_spec_as_list) ... ok [ 26s] test_cant_set_kwargs_when_passing_a_mock (mock.tests.testpatch.PatchTest.test_cant_set_kwargs_when_passing_a_mock) ... ok [ 26s] test_create_and_specs (mock.tests.testpatch.PatchTest.test_create_and_specs) ... ok [ 26s] test_dotted_but_module_not_loaded (mock.tests.testpatch.PatchTest.test_dotted_but_module_not_loaded) ... ok [ 26s] test_falsey_spec (mock.tests.testpatch.PatchTest.test_falsey_spec) ... ok [ 26s] test_get_only_proxy (mock.tests.testpatch.PatchTest.test_get_only_proxy) ... ok [ 26s] test_get_set_delete_proxy (mock.tests.testpatch.PatchTest.test_get_set_delete_proxy) ... ok [ 26s] test_invalid_target (mock.tests.testpatch.PatchTest.test_invalid_target) ... ok [ 26s] test_mock_calls_with_patch (mock.tests.testpatch.PatchTest.test_mock_calls_with_patch) ... ok [ 26s] test_multiple_patchobject (mock.tests.testpatch.PatchTest.test_multiple_patchobject) ... ok [ 26s] test_multiple_specs (mock.tests.testpatch.PatchTest.test_multiple_specs) ... ok [ 26s] test_name_preserved (mock.tests.testpatch.PatchTest.test_name_preserved) ... ok [ 26s] test_nested_patch_failure (mock.tests.testpatch.PatchTest.test_nested_patch_failure) ... ok [ 26s] test_nested_patch_with_spec_as_list (mock.tests.testpatch.PatchTest.test_nested_patch_with_spec_as_list) ... ok [ 26s] test_new_callable_class_decorating (mock.tests.testpatch.PatchTest.test_new_callable_class_decorating) ... ok [ 26s] test_new_callable_create (mock.tests.testpatch.PatchTest.test_new_callable_create) ... ok [ 26s] test_new_callable_failure (mock.tests.testpatch.PatchTest.test_new_callable_failure) ... ok [ 26s] test_new_callable_incompatible_with_autospec (mock.tests.testpatch.PatchTest.test_new_callable_incompatible_with_autospec) ... ok [ 26s] 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 [ 26s] test_context_manager_with_magic_mock (mock.tests.testwith.WithTest.test_context_manager_with_magic_mock) ... ok [ 26s] test_dict_context_manager (mock.tests.testwith.WithTest.test_dict_context_manager) ... ok [ 26s] test_double_patch_instance_method (mock.tests.testwith.WithTest.test_double_patch_instance_method) ... ok [ 26s] test_patch_object_with_statement (mock.tests.testwith.WithTest.test_patch_object_with_statement) ... ok [ 26s] test_with_statement (mock.tests.testwith.WithTest.test_with_statement) ... ok [ 26s] test_with_statement_as (mock.tests.testwith.WithTest.test_with_statement_as) ... ok [ 26s] test_with_statement_exception (mock.tests.testwith.WithTest.test_with_statement_exception) ... ok [ 26s] test_with_statement_imbricated (mock.tests.testwith.WithTest.test_with_statement_imbricated) ... ok [ 26s] test_with_statement_nested (mock.tests.testwith.WithTest.test_with_statement_nested) ... ok [ 26s] test_with_statement_same_attribute (mock.tests.testwith.WithTest.test_with_statement_same_attribute) ... ok [ 26s] test_with_statement_specified (mock.tests.testwith.WithTest.test_with_statement_specified) ... ok [ 26s] [ 26s] ---------------------------------------------------------------------- [ 26s] Ran 287 tests in 0.940s [ 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.tMFc00 [ 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.x86_64/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.x86_64/usr/share/licenses/python3-mock [ 26s] + cp -pr LICENSE.txt /home/abuild/rpmbuild/BUILDROOT/python3-mock-4.0.3-0.x86_64/usr/share/licenses/python3-mock [ 26s] + exit 0 [ 26s] Provides: python3-mock = 4.0.3-0 [ 26s] Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 [ 26s] Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/abuild/rpmbuild/BUILDROOT/python3-mock-4.0.3-0.x86_64 [ 26s] 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.tRV0K3 [ 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.x86_64 [ 27s] + exit 0 [ 27s] ... checking for files with abuild user/group [ 27s] ... creating baselibs [ 27s] [ 27s] ip-192-168-72-219 finished "build python3-mock.spec" at Mon May 15 08:31:51 UTC 2023. [ 27s]