class_docstr: Unit tests for TabularQLearning.
class_docstr_tok: ["Unit","tests","for","TabularQLearning","."]
code: def test_init_unsupported_q(self, mock_qlearn_parameters):
      mock_qlearn_parameters.return_value.q_representation = "undefined"
  
      action_space = spaces.Discrete(2)
      observation_space = spaces.Discrete(3)
      self.assertRaises(
          ValueError,
          TabularQLearning,
          "",
          observation_space,
          action_space,
      )
  
file_path: CNTK/bindings/python/cntk/contrib/deeprl/tests/tabular_qlearning_test.py
imports: import unittest
  import cntk.contrib.deeprl.tests.spaces
  import numpy
  from cntk.contrib.deeprl.agent.tabular_qlearning import TabularQLearning
label_desc: Use image node_id 2 for calling the TabularQLearningTest obj's underlying member method code with example usage: obj.test_init_unsupported_q(mock_qlearn_parameters) without return types