Fails with the message:
File "/home/paul/.local/lib/python3.9/site-packages/_pytest/runner.py",
line 169, in pytest_runtest_call
[0/96317]
item.runtest()
File "/home/paul/.local/lib/python3.9/site-packages/_pytest/python.py",
line 1792, in runtest
self.ihook.pytest_pyfunc_call(pyfuncitem=self)
File "/home/paul/.local/lib/python3.9/site-packages/pluggy/_hooks.py",
line 493, in __call__
return self._hookexec(self.name, self._hookimpls, kwargs, firstresult)
File "/home/paul/.local/lib/python3.9/site-packages/pluggy/_manager.py",
line 115, in _hookexec
return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
File "/home/paul/.local/lib/python3.9/site-packages/pluggy/_callers.py",
line 152, in _multicall
return outcome.get_result()
File "/home/paul/.local/lib/python3.9/site-packages/pluggy/_result.py",
line 114, in get_result
raise exc.with_traceback(exc.__traceback__)
File "/home/paul/.local/lib/python3.9/site-packages/pluggy/_callers.py",
line 77, in _multicall
res = hook_impl.function(*args)
File "/home/paul/.local/lib/python3.9/site-packages/_pytest/python.py",
line 194, in pytest_pyfunc_call
result = testfunction(**testargs)
File "/home/paul/s3ql/s3ql/tests/t1_backends.py", line 404, in
test_delete_non_existing
del backend[key]
File "/home/paul/s3ql/s3ql/src/s3ql/backends/common.py", line 217, in
__delitem__
self.delete(key)
File "/home/paul/s3ql/s3ql/src/s3ql/backends/comprenc.py", line 285, in
delete
return self.backend.delete(key)
File "/home/paul/s3ql/s3ql/src/s3ql/backends/b2/b2_backend.py", line 530,
in delete
raise NoSuchObject(key)
s3ql.backends.common.NoSuchObject: Backend does not have anything stored
under key "random\\'name' 2"
===================================================================================================
warnings summary
====================================================================================================
t1_backends.py::test_delete_non_existing[mock-s3c/aes]
/home/paul/s3ql/s3ql/tests/conftest.py:131: ResourceWarning: unclosed
<ssl.SSLSocket fd=16, family=AddressFamily.AF_INET,
type=SocketKind.SOCK_STREAM, proto=6, laddr=('45.248.76.165', 48786),
raddr=('149.137.136.15', 443)>
gc.collect()
Enable tracemalloc to get traceback where the object was allocated.
See
https://docs.pytest.org/en/stable/how-to/capture-warnings.html#resource-warnings
for more info.
-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
================================================================================================
short test summary info
================================================================================================
FAILED tests/t1_backends.py::test_delete_non_existing[remote-b2/aes] -
s3ql.backends.common.NoSuchObject: Backend does not have anything stored
under key "random\\'name' 2"
========================================================================================
1 failed, 5 passed, 1 warning in 4.25s
=========================================================================================
--
You received this message because you are subscribed to the Google Groups
"s3ql" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/s3ql/6155c593-89c2-46e7-b801-a9e843bad09en%40googlegroups.com.