code: def test_notify_message(updater, pkg, instruction):
      update_message = "You are using dvc version 0.0.2; however, version 0.0.3 is available."
  
      message = updater._get_message("0.0.3", current="0.0.2", pkg=pkg)
      assert message.plain.splitlines() == [
          "",
          update_message,
          instruction,
      ]
  
file_path: dvc/tests/unit/test_updater.py
imports: import json
  import logging
  import os
  import time
  import pytest
  from dvc import __version__
  from dvc.updater import Updater
  from tests.func.parsing.test_errors import escape_ansi
label_desc: Use image node_id 12 for calling a global function with example usage: test_notify_message(updater, pkg, instruction) without return types