'Tests there are logs
@since 3.8.0
@jira_ticket PYTHON-676
@expected_result logs
@test_category timing'

def test_basic_log_content(self):

    tsg = timestamps.MonotonicTimestampGenerator(warning_threshold=1e-06, warning_interval=1e-06)
    tsg._last_warn = 12
    tsg._next_timestamp(20, tsg.last)
    self.assertEqual(len(self.patched_timestamp_log.warn.call_args_list), 0)
    tsg._next_timestamp(16, tsg.last)
    self.assertEqual(len(self.patched_timestamp_log.warn.call_args_list), 1)
    self.assertLastCallArgRegex(self.patched_timestamp_log.warn.call_args, 'Clock    skew    detected:.*\\b16\\b.*\\b4\\b.*\\b20\\b')
