Created
March 3, 2019 11:07
-
-
Save NMZivkovic/f3b4c9c9ff7417d99c45307e84c785d7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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