def testMissingStageType(self):
    pl = linter.PipelineLinter('{"inputs": [{}]}')
    expect = {
        linter.PipelineLinter.CHECK_SYNTAX_VALID: {'pass': True},
        linter.PipelineLinter.CHECK_REQ_IO_STAGES: {'pass': True},
        linter.PipelineLinter.CHECK_UNKNOWN_CONFIG_KEYS: {'pass': True},
        'stages': {
            'inputs': [{
                None % linter.StageLinter.CHECK_TYPE_FMT: {
                    'pass': False,
                    'reason': linter.StageLinter.MSG_TYPE_NOT_FOUND}}]}
    }
    self.assertFalse(pl.results.valid)
    self.assertSameStructure(expect, pl.results.results)
dataset/ETHPy150Open GoogleCloudPlatform/Data-Pipeline/app/src/pipelines/linter_test.py/LintPipelineTest.testMissingStageType/swapped operands of `%`