def test_render_dog_action_event_5(self): """ Test meet another dog :return: """ created_at: datetime = datetime(year=2000, month=1, day=1, tzinfo=UTC) self.assertEqual(render_dog_action_event(DogActionEvent( dog_from=fetch_dog('public_dog_id'), dog_to=fetch_dog('public_dog_id_2'), context=DogStatus.WALKING, type=DogActionEventType.MEET_ANOTHER_DOG, created_at=created_at )), '2000-01-01 - While walking, name has met <a href="/dog/public_dog_id_2">toto</a>.')
def test_render_dog_action_event_3(self): """ Test magic bone :return: """ created_at: datetime = datetime(year=2000, month=1, day=1, tzinfo=UTC) self.assertEqual(render_dog_action_event(DogActionEvent( dog_from=fetch_dog('public_dog_id'), dog_to=None, context=DogStatus.WALKING, type=DogActionEventType.FIND_MAGIC_BONE, created_at=created_at )), '2000-01-01 - While walking, name has found a magic bone.')