# -*- coding: utf-8 -*-
# snapshottest: v1 - https://goo.gl/zC4yUc
from __future__ import unicode_literals

from snapshottest import Snapshot

snapshots = Snapshot()

snapshots['TestExpectations.test_basic_expectations_within_compute_step_events[in_memory_instance_in_process_env] 1'] = [
    {
        '__typename': 'StepExpectationResultEvent',
        'expectationResult': {
            'description': 'Failure',
            'label': 'always_false',
            'metadataEntries': [
                {
                    '__typename': 'EventJsonMetadataEntry',
                    'description': None,
                    'jsonString': '{"reason": "Relentless pessimism."}',
                    'label': 'data'
                }
            ],
            'success': False
        },
        'level': 'DEBUG',
        'message': 'Failure',
        'runId': '<runId dummy value>',
        'step': {
            'inputs': [
            ],
            'key': 'emit_failed_expectation.compute',
            'kind': 'COMPUTE',
            'metadata': [
            ],
            'outputs': [
            ],
            'solidHandleID': 'emit_failed_expectation'
        },
        'timestamp': '<timestamp dummy value>'
    }
]

snapshots['TestExpectations.test_basic_expectations_within_compute_step_events[in_memory_instance_in_process_env] 2'] = [
    {
        '__typename': 'StepExpectationResultEvent',
        'expectationResult': {
            'description': 'Successful',
            'label': 'always_true',
            'metadataEntries': [
                {
                    '__typename': 'EventJsonMetadataEntry',
                    'description': None,
                    'jsonString': '{"reason": "Just because."}',
                    'label': 'data'
                }
            ],
            'success': True
        },
        'level': 'DEBUG',
        'message': 'Successful',
        'runId': '<runId dummy value>',
        'step': {
            'inputs': [
            ],
            'key': 'emit_successful_expectation.compute',
            'kind': 'COMPUTE',
            'metadata': [
            ],
            'outputs': [
            ],
            'solidHandleID': 'emit_successful_expectation'
        },
        'timestamp': '<timestamp dummy value>'
    }
]

snapshots['TestExpectations.test_basic_expectations_within_compute_step_events[in_memory_instance_in_process_env] 3'] = [
    {
        '__typename': 'StepExpectationResultEvent',
        'expectationResult': {
            'description': 'Successful',
            'label': 'no_metadata',
            'metadataEntries': [
            ],
            'success': True
        },
        'level': 'DEBUG',
        'message': 'Successful',
        'runId': '<runId dummy value>',
        'step': {
            'inputs': [
            ],
            'key': 'emit_successful_expectation_no_metadata.compute',
            'kind': 'COMPUTE',
            'metadata': [
            ],
            'outputs': [
            ],
            'solidHandleID': 'emit_successful_expectation_no_metadata'
        },
        'timestamp': '<timestamp dummy value>'
    }
]

snapshots['TestExpectations.test_basic_expectations_within_compute_step_events[sqlite_with_sync_run_launcher_in_process_env] 1'] = [
    {
        '__typename': 'StepExpectationResultEvent',
        'expectationResult': {
            'description': 'Failure',
            'label': 'always_false',
            'metadataEntries': [
                {
                    '__typename': 'EventJsonMetadataEntry',
                    'description': None,
                    'jsonString': '{"reason": "Relentless pessimism."}',
                    'label': 'data'
                }
            ],
            'success': False
        },
        'level': 'DEBUG',
        'message': 'Failure',
        'runId': '<runId dummy value>',
        'step': {
            'inputs': [
            ],
            'key': 'emit_failed_expectation.compute',
            'kind': 'COMPUTE',
            'metadata': [
            ],
            'outputs': [
            ],
            'solidHandleID': 'emit_failed_expectation'
        },
        'timestamp': '<timestamp dummy value>'
    }
]

snapshots['TestExpectations.test_basic_expectations_within_compute_step_events[sqlite_with_sync_run_launcher_in_process_env] 2'] = [
    {
        '__typename': 'StepExpectationResultEvent',
        'expectationResult': {
            'description': 'Successful',
            'label': 'always_true',
            'metadataEntries': [
                {
                    '__typename': 'EventJsonMetadataEntry',
                    'description': None,
                    'jsonString': '{"reason": "Just because."}',
                    'label': 'data'
                }
            ],
            'success': True
        },
        'level': 'DEBUG',
        'message': 'Successful',
        'runId': '<runId dummy value>',
        'step': {
            'inputs': [
            ],
            'key': 'emit_successful_expectation.compute',
            'kind': 'COMPUTE',
            'metadata': [
            ],
            'outputs': [
            ],
            'solidHandleID': 'emit_successful_expectation'
        },
        'timestamp': '<timestamp dummy value>'
    }
]

snapshots['TestExpectations.test_basic_expectations_within_compute_step_events[sqlite_with_sync_run_launcher_in_process_env] 3'] = [
    {
        '__typename': 'StepExpectationResultEvent',
        'expectationResult': {
            'description': 'Successful',
            'label': 'no_metadata',
            'metadataEntries': [
            ],
            'success': True
        },
        'level': 'DEBUG',
        'message': 'Successful',
        'runId': '<runId dummy value>',
        'step': {
            'inputs': [
            ],
            'key': 'emit_successful_expectation_no_metadata.compute',
            'kind': 'COMPUTE',
            'metadata': [
            ],
            'outputs': [
            ],
            'solidHandleID': 'emit_successful_expectation_no_metadata'
        },
        'timestamp': '<timestamp dummy value>'
    }
]

snapshots['TestExpectations.test_basic_expectations_within_compute_step_events[sqlite_with_cli_api_run_launcher_in_process_env] 1'] = [
    {
        '__typename': 'StepExpectationResultEvent',
        'expectationResult': {
            'description': 'Failure',
            'label': 'always_false',
            'metadataEntries': [
                {
                    '__typename': 'EventJsonMetadataEntry',
                    'description': None,
                    'jsonString': '{"reason": "Relentless pessimism."}',
                    'label': 'data'
                }
            ],
            'success': False
        },
        'level': 'DEBUG',
        'message': 'Failure',
        'runId': '<runId dummy value>',
        'step': {
            'inputs': [
            ],
            'key': 'emit_failed_expectation.compute',
            'kind': 'COMPUTE',
            'metadata': [
            ],
            'outputs': [
            ],
            'solidHandleID': 'emit_failed_expectation'
        },
        'timestamp': '<timestamp dummy value>'
    }
]

snapshots['TestExpectations.test_basic_expectations_within_compute_step_events[sqlite_with_cli_api_run_launcher_in_process_env] 2'] = [
    {
        '__typename': 'StepExpectationResultEvent',
        'expectationResult': {
            'description': 'Successful',
            'label': 'always_true',
            'metadataEntries': [
                {
                    '__typename': 'EventJsonMetadataEntry',
                    'description': None,
                    'jsonString': '{"reason": "Just because."}',
                    'label': 'data'
                }
            ],
            'success': True
        },
        'level': 'DEBUG',
        'message': 'Successful',
        'runId': '<runId dummy value>',
        'step': {
            'inputs': [
            ],
            'key': 'emit_successful_expectation.compute',
            'kind': 'COMPUTE',
            'metadata': [
            ],
            'outputs': [
            ],
            'solidHandleID': 'emit_successful_expectation'
        },
        'timestamp': '<timestamp dummy value>'
    }
]

snapshots['TestExpectations.test_basic_expectations_within_compute_step_events[sqlite_with_cli_api_run_launcher_in_process_env] 3'] = [
    {
        '__typename': 'StepExpectationResultEvent',
        'expectationResult': {
            'description': 'Successful',
            'label': 'no_metadata',
            'metadataEntries': [
            ],
            'success': True
        },
        'level': 'DEBUG',
        'message': 'Successful',
        'runId': '<runId dummy value>',
        'step': {
            'inputs': [
            ],
            'key': 'emit_successful_expectation_no_metadata.compute',
            'kind': 'COMPUTE',
            'metadata': [
            ],
            'outputs': [
            ],
            'solidHandleID': 'emit_successful_expectation_no_metadata'
        },
        'timestamp': '<timestamp dummy value>'
    }
]

snapshots['TestExpectations.test_basic_input_output_expectations[in_memory_instance_in_process_env] 1'] = [
    {
        '__typename': 'StepExpectationResultEvent',
        'expectationResult': {
            'description': None,
            'label': 'some_expectation',
            'metadataEntries': [
            ],
            'success': True
        },
        'level': 'DEBUG',
        'message': 'Expectation some_expectation passed',
        'runId': '<runId dummy value>',
        'step': {
            'inputs': [
                {
                    'dependsOn': [
                        {
                            'key': 'sum_solid.compute'
                        }
                    ],
                    'name': 'sum_df',
                    'type': {
                        'key': 'PoorMansDataFrame'
                    }
                }
            ],
            'key': 'df_expectations_solid.compute',
            'kind': 'COMPUTE',
            'metadata': [
            ],
            'outputs': [
                {
                    'name': 'result',
                    'type': {
                        'key': 'PoorMansDataFrame'
                    }
                }
            ],
            'solidHandleID': 'df_expectations_solid'
        },
        'timestamp': '<timestamp dummy value>'
    },
    {
        '__typename': 'StepExpectationResultEvent',
        'expectationResult': {
            'description': None,
            'label': 'other_expectation',
            'metadataEntries': [
            ],
            'success': True
        },
        'level': 'DEBUG',
        'message': 'Expectation other_expectation passed',
        'runId': '<runId dummy value>',
        'step': {
            'inputs': [
                {
                    'dependsOn': [
                        {
                            'key': 'sum_solid.compute'
                        }
                    ],
                    'name': 'sum_df',
                    'type': {
                        'key': 'PoorMansDataFrame'
                    }
                }
            ],
            'key': 'df_expectations_solid.compute',
            'kind': 'COMPUTE',
            'metadata': [
            ],
            'outputs': [
                {
                    'name': 'result',
                    'type': {
                        'key': 'PoorMansDataFrame'
                    }
                }
            ],
            'solidHandleID': 'df_expectations_solid'
        },
        'timestamp': '<timestamp dummy value>'
    }
]

snapshots['TestExpectations.test_basic_input_output_expectations[sqlite_with_sync_run_launcher_in_process_env] 1'] = [
    {
        '__typename': 'StepExpectationResultEvent',
        'expectationResult': {
            'description': None,
            'label': 'some_expectation',
            'metadataEntries': [
            ],
            'success': True
        },
        'level': 'DEBUG',
        'message': 'Expectation some_expectation passed',
        'runId': '<runId dummy value>',
        'step': {
            'inputs': [
                {
                    'dependsOn': [
                        {
                            'key': 'sum_solid.compute'
                        }
                    ],
                    'name': 'sum_df',
                    'type': {
                        'key': 'PoorMansDataFrame'
                    }
                }
            ],
            'key': 'df_expectations_solid.compute',
            'kind': 'COMPUTE',
            'metadata': [
            ],
            'outputs': [
                {
                    'name': 'result',
                    'type': {
                        'key': 'PoorMansDataFrame'
                    }
                }
            ],
            'solidHandleID': 'df_expectations_solid'
        },
        'timestamp': '<timestamp dummy value>'
    },
    {
        '__typename': 'StepExpectationResultEvent',
        'expectationResult': {
            'description': None,
            'label': 'other_expectation',
            'metadataEntries': [
            ],
            'success': True
        },
        'level': 'DEBUG',
        'message': 'Expectation other_expectation passed',
        'runId': '<runId dummy value>',
        'step': {
            'inputs': [
                {
                    'dependsOn': [
                        {
                            'key': 'sum_solid.compute'
                        }
                    ],
                    'name': 'sum_df',
                    'type': {
                        'key': 'PoorMansDataFrame'
                    }
                }
            ],
            'key': 'df_expectations_solid.compute',
            'kind': 'COMPUTE',
            'metadata': [
            ],
            'outputs': [
                {
                    'name': 'result',
                    'type': {
                        'key': 'PoorMansDataFrame'
                    }
                }
            ],
            'solidHandleID': 'df_expectations_solid'
        },
        'timestamp': '<timestamp dummy value>'
    }
]

snapshots['TestExpectations.test_basic_input_output_expectations[sqlite_with_cli_api_run_launcher_in_process_env] 1'] = [
    {
        '__typename': 'StepExpectationResultEvent',
        'expectationResult': {
            'description': None,
            'label': 'some_expectation',
            'metadataEntries': [
            ],
            'success': True
        },
        'level': 'DEBUG',
        'message': 'Expectation some_expectation passed',
        'runId': '<runId dummy value>',
        'step': {
            'inputs': [
                {
                    'dependsOn': [
                        {
                            'key': 'sum_solid.compute'
                        }
                    ],
                    'name': 'sum_df',
                    'type': {
                        'key': 'PoorMansDataFrame'
                    }
                }
            ],
            'key': 'df_expectations_solid.compute',
            'kind': 'COMPUTE',
            'metadata': [
            ],
            'outputs': [
                {
                    'name': 'result',
                    'type': {
                        'key': 'PoorMansDataFrame'
                    }
                }
            ],
            'solidHandleID': 'df_expectations_solid'
        },
        'timestamp': '<timestamp dummy value>'
    },
    {
        '__typename': 'StepExpectationResultEvent',
        'expectationResult': {
            'description': None,
            'label': 'other_expectation',
            'metadataEntries': [
            ],
            'success': True
        },
        'level': 'DEBUG',
        'message': 'Expectation other_expectation passed',
        'runId': '<runId dummy value>',
        'step': {
            'inputs': [
                {
                    'dependsOn': [
                        {
                            'key': 'sum_solid.compute'
                        }
                    ],
                    'name': 'sum_df',
                    'type': {
                        'key': 'PoorMansDataFrame'
                    }
                }
            ],
            'key': 'df_expectations_solid.compute',
            'kind': 'COMPUTE',
            'metadata': [
            ],
            'outputs': [
                {
                    'name': 'result',
                    'type': {
                        'key': 'PoorMansDataFrame'
                    }
                }
            ],
            'solidHandleID': 'df_expectations_solid'
        },
        'timestamp': '<timestamp dummy value>'
    }
]

snapshots['TestExpectations.test_basic_input_output_expectations[sqlite_with_grpc_run_launcher_in_process_env] 1'] = [
    {
        '__typename': 'StepExpectationResultEvent',
        'expectationResult': {
            'description': None,
            'label': 'some_expectation',
            'metadataEntries': [
            ],
            'success': True
        },
        'level': 'DEBUG',
        'message': 'Expectation some_expectation passed',
        'runId': '<runId dummy value>',
        'step': {
            'inputs': [
                {
                    'dependsOn': [
                        {
                            'key': 'sum_solid.compute'
                        }
                    ],
                    'name': 'sum_df',
                    'type': {
                        'key': 'PoorMansDataFrame'
                    }
                }
            ],
            'key': 'df_expectations_solid.compute',
            'kind': 'COMPUTE',
            'metadata': [
            ],
            'outputs': [
                {
                    'name': 'result',
                    'type': {
                        'key': 'PoorMansDataFrame'
                    }
                }
            ],
            'solidHandleID': 'df_expectations_solid'
        },
        'timestamp': '<timestamp dummy value>'
    },
    {
        '__typename': 'StepExpectationResultEvent',
        'expectationResult': {
            'description': None,
            'label': 'other_expectation',
            'metadataEntries': [
            ],
            'success': True
        },
        'level': 'DEBUG',
        'message': 'Expectation other_expectation passed',
        'runId': '<runId dummy value>',
        'step': {
            'inputs': [
                {
                    'dependsOn': [
                        {
                            'key': 'sum_solid.compute'
                        }
                    ],
                    'name': 'sum_df',
                    'type': {
                        'key': 'PoorMansDataFrame'
                    }
                }
            ],
            'key': 'df_expectations_solid.compute',
            'kind': 'COMPUTE',
            'metadata': [
            ],
            'outputs': [
                {
                    'name': 'result',
                    'type': {
                        'key': 'PoorMansDataFrame'
                    }
                }
            ],
            'solidHandleID': 'df_expectations_solid'
        },
        'timestamp': '<timestamp dummy value>'
    }
]

snapshots['TestExpectations.test_basic_expectations_within_compute_step_events[sqlite_with_grpc_run_launcher_in_process_env] 1'] = [
    {
        '__typename': 'StepExpectationResultEvent',
        'expectationResult': {
            'description': 'Failure',
            'label': 'always_false',
            'metadataEntries': [
                {
                    '__typename': 'EventJsonMetadataEntry',
                    'description': None,
                    'jsonString': '{"reason": "Relentless pessimism."}',
                    'label': 'data'
                }
            ],
            'success': False
        },
        'level': 'DEBUG',
        'message': 'Failure',
        'runId': '<runId dummy value>',
        'step': {
            'inputs': [
            ],
            'key': 'emit_failed_expectation.compute',
            'kind': 'COMPUTE',
            'metadata': [
            ],
            'outputs': [
            ],
            'solidHandleID': 'emit_failed_expectation'
        },
        'timestamp': '<timestamp dummy value>'
    }
]

snapshots['TestExpectations.test_basic_expectations_within_compute_step_events[sqlite_with_grpc_run_launcher_in_process_env] 2'] = [
    {
        '__typename': 'StepExpectationResultEvent',
        'expectationResult': {
            'description': 'Successful',
            'label': 'always_true',
            'metadataEntries': [
                {
                    '__typename': 'EventJsonMetadataEntry',
                    'description': None,
                    'jsonString': '{"reason": "Just because."}',
                    'label': 'data'
                }
            ],
            'success': True
        },
        'level': 'DEBUG',
        'message': 'Successful',
        'runId': '<runId dummy value>',
        'step': {
            'inputs': [
            ],
            'key': 'emit_successful_expectation.compute',
            'kind': 'COMPUTE',
            'metadata': [
            ],
            'outputs': [
            ],
            'solidHandleID': 'emit_successful_expectation'
        },
        'timestamp': '<timestamp dummy value>'
    }
]

snapshots['TestExpectations.test_basic_expectations_within_compute_step_events[sqlite_with_grpc_run_launcher_in_process_env] 3'] = [
    {
        '__typename': 'StepExpectationResultEvent',
        'expectationResult': {
            'description': 'Successful',
            'label': 'no_metadata',
            'metadataEntries': [
            ],
            'success': True
        },
        'level': 'DEBUG',
        'message': 'Successful',
        'runId': '<runId dummy value>',
        'step': {
            'inputs': [
            ],
            'key': 'emit_successful_expectation_no_metadata.compute',
            'kind': 'COMPUTE',
            'metadata': [
            ],
            'outputs': [
            ],
            'solidHandleID': 'emit_successful_expectation_no_metadata'
        },
        'timestamp': '<timestamp dummy value>'
    }
]
