Commits

Ionel Cristian Mărieș committed be829c0

Updated some tests to old bla_value.

  • Participants
  • Parent commits c5270a1

Comments (0)

Files changed (1)

File tests/test_project/apps/testapp/tests.py

         b.save()
         b.foo = 'abc'
         self.assertEquals(b.foo, 'abc')
-        self.assertEquals(b.foo_inherited_value, 'abc')
+        self.assertEquals(b.foo_value, 'abc')
         self.assertEquals(b.is_foo_inherited, False)
 
         # this tests handling for broken FKs
         b.parent_id = 99999
         b.foo = 'abc'
         self.assertEquals(b.foo, 'abc')
-        self.assertEquals(b.foo_inherited_value, 'abc')
+        self.assertEquals(b.foo_value, 'abc')
         self.assertEquals(b.is_foo_inherited, False)
 
     def test_model_field_inheritance_simple(self):
         b.foo = 'abc'
         self.assertEquals(a.bar, '123')
         self.assertEquals(b.foo, 'abc')
-        self.assertEquals(b.foo_inherited_value, 'abc')
+        self.assertEquals(b.foo_value, 'abc')
         self.assertEquals(b.is_foo_inherited, False)
 
         self.assertEquals(b.ifoo, '123')