'Should be able to use update_or_create from the generic related manager
to create a tag. Refs #23611.'

def test_generic_update_or_create_when_created(self):

    count = self.bacon.tags.count()
    (tag, created) = self.bacon.tags.update_or_create(tag='stinky')
    self.assertTrue(created)
    self.assertEqual((count + 1), self.bacon.tags.count())
