text: # coding: utf-8
  
  """
      PowerMeter API
  
      API  # noqa: E501
  
      The version of the OpenAPI document: 2021.4.1
      Generated by: https://openapi-generator.tech
  """
  
  
  from __future__ import absolute_import
  
  import unittest
  import datetime
  
  import powermeter_api
  from powermeter_api.models.scenario_mode_util import ScenarioModeUtil  # noqa: E501
  from powermeter_api.rest import ApiException
  
  class TestScenarioModeUtil(unittest.TestCase):
      """ScenarioModeUtil unit test stubs"""
  
      def setUp(self):
          pass
  
      def tearDown(self):
          pass
  
      def make_instance(self, include_optional):
          """Test ScenarioModeUtil
              include_option is a boolean, when False only required
              params are included, when True both required and
              optional params are included """
          # model = powermeter_api.models.scenario_mode_util.ScenarioModeUtil()  # noqa: E501
          if include_optional :
              return ScenarioModeUtil(
                  id = 56, 
                  mastermode = 56, 
                  mastermode_name = '0'
              )
          else :
              return ScenarioModeUtil(
                  mastermode = 56,
          )
  
      def testScenarioModeUtil(self):
          """Test ScenarioModeUtil"""
          inst_req_only = self.make_instance(include_optional=False)
          inst_req_and_optional = self.make_instance(include_optional=True)
  
  
  if __name__ == '__main__':
      unittest.main()
  