Skip to content

Instantly share code, notes, and snippets.

@NMZivkovic

NMZivkovic/rick_tests2.py

Last active Mar 5, 2019
Embed
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__':
unittest.main()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.