old_contents: # 
  # Author    : Manuel Bernal Llinares
  # Project   : trackhub-creator
  # Timestamp : 03-07-2017 11:51
  # ---
  # © 2017 Manuel Bernal Llinares <mbdebian@gmail.com>
  # All rights reserved.
  # 
  
  """
  Unit tests for Ensembl module
  """
  
  import unittest
  # App modules
  import main_app
  import config_manager
  from ensembl.service import Service as EnsemblService
  
  
  class TestEnsemblService(unittest.TestCase):
      __CONFIG_FILE_NAME = "config_ensembl_module.json"
  
      def test_test(self):
          """
          This test has been used just for setting up the unit testing subsystem.
          It always passes.
          :return: no return value
          """
          pass
  
      def test_get_ensembl_current_release(self):
          service = EnsemblService(config_manager.read_config_from_file(self.__CONFIG_FILE_NAME), self.__CONFIG_FILE_NAME)
          current_release_number = service.get_release_number()
          print("Current release number ---> {}".format(current_release_number))
  
  
  if __name__ == '__main__':
      main_app.app_bootstrap()
      unittest.main()
  
new_contents: # 
  # Author    : Manuel Bernal Llinares
  # Project   : trackhub-creator
  # Timestamp : 03-07-2017 11:51
  # ---
  # © 2017 Manuel Bernal Llinares <mbdebian@gmail.com>
  # All rights reserved.
  # 
  
  """
  Unit tests for Ensembl module
  """
  
  import unittest
  # App modules
  import main_app
  import config_manager
  import ensembl.service
  
  
  class TestEnsemblService(unittest.TestCase):
      __CONFIG_FILE_NAME = "config_ensembl_module.json"
  
      def test_test(self):
          """
          This test has been used just for setting up the unit testing subsystem.
          It always passes.
          :return: no return value
          """
          pass
  
      def test_get_ensembl_current_release(self):
          service = ensembl.service.get_service()
          current_release_number = service.get_release_number()
          print("Current release number ---> {}".format(current_release_number))
  
  
  if __name__ == '__main__':
      main_app.app_bootstrap()
      unittest.main()
  
subject: refactor unit test for ensembl service