'Test that the fields not in the inherited_names list won\'t be inherited.'

def test_not_inherited(self):

    parent = self.get_a_block(usage_id=self.get_usage_id('course', 'parent'))
    parent.not_inherited = 'Changed!'
    self.assertEqual(parent.not_inherited, 'Changed!')
    child = self.get_a_block(usage_id=self.get_usage_id('vertical', 'child'))
    child.parent = parent.location
    self.assertEqual(child.not_inherited, 'nothing')
