'Tests there is only one log in the interval `warning_interval`
@since 3.8.0
@jira_ticket PYTHON-676
@expected_result one log
@test_category timing'

def test_warning_interval_respected_no_logging(self):

    tsg = timestamps.MonotonicTimestampGenerator(warning_threshold=1e-06, warning_interval=2e-06)
    tsg.last = 100
    tsg._next_timestamp(70, tsg.last)
    self.assertEqual(len(self.patched_timestamp_log.warn.call_args_list), 1)
    tsg._next_timestamp(71, tsg.last)
    self.assertEqual(len(self.patched_timestamp_log.warn.call_args_list), 1)
