feat: Support OS truststore for the TLS certificate verification #673
Annotations
3 errors
Run poetry run pytest --integration -v:
tests/integration/test_utils_vcs_git.py#L355
test_configured_repository_http_auth
AssertionError: expected call not found.
Expected: get_transport_and_path(location='https://github.com/python-poetry/test-fixture-vcs-repository.git', config=ConfigFile(<dulwich.config.CaseInsensitiveOrderedMultiDict object at 0x7f40063b1580>), username='Ousret', password='***')
Actual: get_transport_and_path('https://github.com/python-poetry/test-fixture-vcs-repository.git', config=ConfigFile(<dulwich.config.CaseInsensitiveOrderedMultiDict object at 0x7f40063b1580>), username='Ousret', password='***', pool_manager=<urllib3.poolmanager.PoolManager object at 0x7f40063be160>)
pytest introspection follows:
Args:
assert ('https://git...ository.git',) == ()
Left contains one more item: 'https://github.com/python-poetry/test-fixture-vcs-repository.git'
Full diff:
- ()
+ (
+ 'https://github.com/python-poetry/test-fixture-vcs-repository.git',
+ )
Kwargs:
assert {'config': Co...me': 'Ousret'} == {'config': Co...me': 'Ousret'}
Omitting 3 identical items, use -vv to show
Left contains 1 more item:
{'pool_manager': <urllib3.poolmanager.PoolManager object at 0x7f40063be160>}
Right contains 1 more item:
{'location': 'https://github.com/python-poetry/test-fixture-vcs-repository.git'}
Full diff:
{
'config': ConfigFile(<dulwich.config.CaseInsensitiveOrderedMultiDict object at 0x7f40063b1580>),
- 'location': 'https://github.com/python-poetry/test-fixture-vcs-repository.git',
'password': '***',
+ 'pool_manager': <urllib3.poolmanager.PoolManager object at 0x7f40063be160>,
'username': 'Ousret',
}
|
Run poetry run pytest --integration -v:
tests/integration/test_utils_vcs_git.py#L383
test_username_password_parameter_is_not_passed_to_dulwich
AssertionError: expected call not found.
Expected: get_transport_and_path(location='https://github.com/python-poetry/test-fixture-vcs-repository.git', config=ConfigFile(<dulwich.config.CaseInsensitiveOrderedMultiDict object at 0x7fccffdf1820>))
Actual: get_transport_and_path('https://github.com/python-poetry/test-fixture-vcs-repository.git', config=ConfigFile(<dulwich.config.CaseInsensitiveOrderedMultiDict object at 0x7fccffdf1820>), pool_manager=<urllib3.poolmanager.PoolManager object at 0x7fccfff15760>)
pytest introspection follows:
Args:
assert ('https://git...ository.git',) == ()
Left contains one more item: 'https://github.com/python-poetry/test-fixture-vcs-repository.git'
Full diff:
- ()
+ (
+ 'https://github.com/python-poetry/test-fixture-vcs-repository.git',
+ )
Kwargs:
assert {'config': Co...7fccfff15760>} == {'config': Co...pository.git'}
Omitting 1 identical items, use -vv to show
Left contains 1 more item:
{'pool_manager': <urllib3.poolmanager.PoolManager object at 0x7fccfff15760>}
Right contains 1 more item:
{'location': 'https://github.com/python-poetry/test-fixture-vcs-repository.git'}
Full diff:
{
'config': ConfigFile(<dulwich.config.CaseInsensitiveOrderedMultiDict object at 0x7fccffdf1820>),
- 'location': 'https://github.com/python-poetry/test-fixture-vcs-repository.git',
+ 'pool_manager': <urllib3.poolmanager.PoolManager object at 0x7fccfff15760>,
}
|
Run poetry run pytest --integration -v
Process completed with exit code 1.
|
Loading