def test_ntsc_attribute_is_set_to_a_non_bool_value(self):
        r = Rate(ntsc=True)
        with self.assertRaises(TypeError) as cm:
            r.ntsc = 'not a bool value'

        self.assertEqual(
            str(cm.exception),
            'Rate.ntsc should be a bool value, not str'
        )
Return company name depending on ForeignKey
dataset/ETHPy150Open eoyilmaz/anima/tests/previs/test_rate.py/RateTestCase.test_ntsc_attribute_is_set_to_a_non_bool_value--crossover with--dataset/ETHPy150Open python/pythondotorg/successstories/models.py/Story.get_company_name