We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f742d9 commit b5c5ab0Copy full SHA for b5c5ab0
Lib/test/test_httpservers.py
@@ -1694,14 +1694,7 @@ def test_tls_flag(self, mock_func):
1694
@mock.patch('http.server.test')
1695
def test_no_arguments(self, mock_func):
1696
self.invoke_httpd()
1697
- mock_func.assert_called_once_with(HandlerClass=self.default_handler,
1698
- ServerClass=self.default_server,
1699
- protocol=self.default_protocol,
1700
- port=self.default_port,
1701
- bind=self.default_bind,
1702
- tls_cert=None,
1703
- tls_key=None,
1704
- tls_password=None)
+ mock_func.assert_called_once_with(**self.args)
1705
mock_func.reset_mock()
1706
1707
0 commit comments