'Verify that log messages are constructed correctly.'

@patch('openedx.core.lib.log_utils.log')
def test_log_message(self, mock_log):

    audit_log('foo', qux='quux', bar='baz')
    message = 'foo:    bar="baz",    qux="quux"'
    self.assertTrue(mock_log.info.called_with(message))
