def test_should_raise_error_if_type_is_invalid(self):
        with self.assertRaises(ValueError):
            self.spec_parser.parse_statement({'type': 'sugar'})
Should raise error if type is invalid
dataset/ETHPy150Open StartTheShift/thunderdome/thunderdome/tests/test_spec.py/SpecParserTest.test_should_raise_error_if_type_is_invalid