@@ -1095,6 +1095,7 @@ def test_instruments_with_fastapi_installed(self, mock_logger):
10951095 mock_distro = Mock ()
10961096 mock_distro .load_instrumentor .return_value = None
10971097 _load_instrumentors (mock_distro )
1098+ print ("mock_distro.load_instrumentor.call_args_list: %s" % mock_distro .load_instrumentor .call_args_list )
10981099 self .assertEqual (len (mock_distro .load_instrumentor .call_args_list ), 1 )
10991100 (ep ,) = mock_distro .load_instrumentor .call_args .args
11001101 self .assertEqual (ep .name , "fastapi" )
@@ -1110,6 +1111,7 @@ def test_instruments_with_old_fastapi_installed(self, mock_logger): # pylint: d
11101111 dependency_conflict
11111112 )
11121113 _load_instrumentors (mock_distro )
1114+ print ("mock_distro.load_instrumentor.call_args_list: %s" % mock_distro .load_instrumentor .call_args_list )
11131115 self .assertEqual (len (mock_distro .load_instrumentor .call_args_list ), 1 )
11141116 (ep ,) = mock_distro .load_instrumentor .call_args .args
11151117 self .assertEqual (ep .name , "fastapi" )
@@ -1129,6 +1131,7 @@ def test_instruments_without_fastapi_installed(self, mock_logger): # pylint: di
11291131 dependency_conflict
11301132 )
11311133 _load_instrumentors (mock_distro )
1134+ print ("mock_distro.load_instrumentor.call_args_list: %s" % mock_distro .load_instrumentor .call_args_list )
11321135 self .assertEqual (len (mock_distro .load_instrumentor .call_args_list ), 1 )
11331136 (ep ,) = mock_distro .load_instrumentor .call_args .args
11341137 self .assertEqual (ep .name , "fastapi" )
0 commit comments