Changes between Initial Version and Version 1 of Ticket #35722


Ignore:
Timestamp:
Aug 30, 2024, 5:11:09 AM (2 months ago)
Author:
Slava M.
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35722 – Description

    initial v1  
    1111        with self.subTest():
    1212            lion = Animal.objects.create(name="lion", sound="roar")
     13            self.assertEqual(lion.pk, 1)
     14        with self.subTest():
     15            cat = Animal.objects.create(name="cat", sound="meow")
    1316            # will this still work?
    14             self.assertEqual(lion.pk, 1)
     17            self.assertEqual(cat.pk, 1)
     18
    1519}}}
    1620add to documentation 1 sentence along the lines of:
Back to Top