text: # Importing the Kratos Library
  import KratosMultiphysics as KM
  
  if not KM.IsDistributedRun():
      raise Exception("This test script can only be executed in MPI!")
  
  # Import Kratos "wrapper" for unittests
  import KratosMultiphysics.KratosUnittest as KratosUnittest
  
  # Import the tests or test_classes to create the suits
  
  # Shell tests
  from adjoint_fluid_test import AdjointFluidTest
  
  def AssembleTestSuites():
      ''' Populates the test suites to run.
      Populates the test suites to run. At least, it should pupulate the suites:
      "small", "nighlty" and "all"
      Return
      ------
      suites: A dictionary of suites
          The set of suites with its test_cases added.
      '''
      suites = KratosUnittest.KratosSuites
  
      ### Small MPI tests ########################################################
      smallMPISuite = suites['mpi_small']
  
      ### Nightly MPI tests ######################################################
      nightlyMPISuite = suites['mpi_nightly']
      nightlyMPISuite.addTests(smallMPISuite)
      nightlyMPISuite.addTest(AdjointFluidTest('testCylinder'))
  
      ### Full MPI set ###########################################################
      allMPISuite = suites['mpi_all']
      allMPISuite.addTests(nightlyMPISuite) # already contains the smallMPISuite
  
      return suites
  
  
  if __name__ == '__main__':
      KratosUnittest.runTests(AssembleTestSuites())
  