Skip to content

Instantly share code, notes, and snippets.

@NMZivkovic
Created March 3, 2019 11:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NMZivkovic/f3b4c9c9ff7417d99c45307e84c785d7 to your computer and use it in GitHub Desktop.
Save NMZivkovic/f3b4c9c9ff7417d99c45307e84c785d7 to your computer and use it in GitHub Desktop.
import unittest
from morty import Morty
class MortyTests(unittest.TestCase):
def test_universe(self):
morty = Morty(111)
self.assertEqual(morty.universe, 111)
def test_is_assigned(self):
morty = Morty(111)
self.assertFalse(morty.is_assigned)
if __name__ == '__main__':
unittest.main()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment