Skip to content

Commit

Permalink
update tests
Browse files Browse the repository at this point in the history
  • Loading branch information
emdneto committed Jul 3, 2024
1 parent bb38a65 commit 1a9eed7
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ def test_system_metrics_instrument(self):
f"process.runtime.{self.implementation}.thread_count",
f"process.runtime.{self.implementation}.context_switches",
f"process.runtime.{self.implementation}.cpu.utilization",
f"process.{self.implementation}.open_file_descriptor.count",
"process.open_file_descriptor.count",
]

if self.implementation == "pypy":
Expand Down Expand Up @@ -850,7 +850,7 @@ def test_open_file_descriptor_count(self, mock_process_num_fds):

expected = [_SystemMetricsResult({}, 3)]
self._test_metrics(
f"process.{self.implementation}.open_file_descriptor.count",
"process.open_file_descriptor.count",
expected,
)
mock_process_num_fds.assert_called()

0 comments on commit 1a9eed7

Please sign in to comment.