Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
def test_assing_morty(self):
rick = Rick(111)
morty = Morty(111)
rick.assign(morty)
self.assertEqual(rick.morty, morty)
self.assertTrue(morty.is_assigned)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment