code: def test_setup():
      with pytest.raises(NotImplementedError):
          GradioApp("RANDOM", model=dummy_model)
  
      with pytest.raises(NotImplementedError):
          app = GradioApp(const.IMAGE_CLF, model=dummy_model)
          app.api_type = "RANDOM"
          app.setup()
  
file_path: chitra/tests/serve/test_app.py
imports: import unittest.mock
  from unittest.mock import MagicMock
  import numpy
  import pytest
  from chitra.serve import GradioApp
  from chitra.serve import constants
label_desc: Use image node_id 7 for calling a global function with example usage: test_setup() without return types