Skip to content

Instantly share code, notes, and snippets.



Last active Mar 5, 2019
What would you like to do?
import unittest
from rick import Rick
from morty import Morty
class RickTests(unittest.TestCase):
def test_universe(self):
rick = Rick(111)
self.assertEqual(rick.universe, 111)
def test_has_morty(self):
rick = Rick(111)
self.assertEqual(rick.morty, None)
if __name__ == '__main__':
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment