text: # -*- coding: utf-8 -*-
  # snapshottest: v1 - https://goo.gl/zC4yUc
  from __future__ import unicode_literals
  
  from snapshottest import Snapshot
  
  snapshots = Snapshot()
  
  snapshots['test_basic_valid_config_on_environment_schema 1'] = {
      'environmentSchemaOrError': {
          'isEnvironmentConfigValid': {
              '__typename': 'PipelineConfigValidationValid',
              'pipeline': {
                  'name': 'csv_hello_world'
              }
          }
      }
  }
  
  snapshots['test_basic_invalid_config_on_environment_schema 1'] = {
      'environmentSchemaOrError': {
          'isEnvironmentConfigValid': {
              '__typename': 'PipelineConfigValidationInvalid',
              'errors': [
                  {
                      '__typename': 'FieldNotDefinedConfigError',
                      'fieldName': 'nope',
                      'message': 'Field "nope" is not defined at document config root. Expected: "{ execution?: { in_process?: { } multiprocess?: { config?: { max_concurrent?: Int } } } loggers?: { console?: { config?: { log_level?: String name?: String } } } resources?: { } solids: { sum_solid: { inputs: { num: Path } outputs?: [{ result?: Path }] } sum_sq_solid?: { outputs?: [{ result?: Path }] } } storage?: { filesystem?: { config?: { base_dir?: String } } in_memory?: { } } }"',
                      'reason': 'FIELD_NOT_DEFINED',
                      'stack': {
                          'entries': [
                          ]
                      }
                  },
                  {
                      '__typename': 'MissingFieldConfigError',
                      'field': {
                          'name': 'solids'
                      },
                      'message': 'Missing required field "solids" at document config root. Available Fields: "[\'execution\', \'loggers\', \'resources\', \'solids\', \'storage\']".',
                      'reason': 'MISSING_REQUIRED_FIELD',
                      'stack': {
                          'entries': [
                          ]
                      }
                  }
              ],
              'pipeline': {
                  'name': 'csv_hello_world'
              }
          }
      }
  }
  
  snapshots['test_successful_enviroment_schema 1'] = {
      'environmentSchemaOrError': {
          '__typename': 'EnvironmentSchema',
          'allConfigTypes': [
              {
                  'name': None
              },
              {
                  'name': None
              },
              {
                  'name': None
              },
              {
                  'name': None
              },
              {
                  'name': None
              },
              {
                  'name': None
              },
              {
                  'name': None
              },
              {
                  'name': None
              },
              {
                  'name': None
              },
              {
                  'name': None
              },
              {
                  'name': None
              },
              {
                  'name': None
              },
              {
                  'name': None
              },
              {
                  'name': None
              },
              {
                  'name': None
              },
              {
                  'name': None
              },
              {
                  'name': None
              },
              {
                  'name': 'Any'
              },
              {
                  'name': 'Any.MaterializationSchema'
              },
              {
                  'name': 'Bool'
              },
              {
                  'name': 'Bool.MaterializationSchema'
              },
              {
                  'name': 'Float'
              },
              {
                  'name': 'Float.MaterializationSchema'
              },
              {
                  'name': 'Int'
              },
              {
                  'name': 'Int.MaterializationSchema'
              },
              {
                  'name': 'List[None]'
              },
              {
                  'name': 'Path'
              },
              {
                  'name': 'Path.MaterializationSchema'
              },
              {
                  'name': 'ScalarUnion[Any,Any.InputHydrationConfig]'
              },
              {
                  'name': 'ScalarUnion[Bool,Bool.InputHydrationConfig]'
              },
              {
                  'name': 'ScalarUnion[Float,Float.InputHydrationConfig]'
              },
              {
                  'name': 'ScalarUnion[Int,Int.InputHydrationConfig]'
              },
              {
                  'name': 'ScalarUnion[String,String.InputHydrationConfig]'
              },
              {
                  'name': 'String'
              },
              {
                  'name': 'String.MaterializationSchema'
              }
          ],
          'rootEnvironmentType': {
              'name': None
          }
      }
  }
  