Last active
March 5, 2019 07:41
-
-
Save NMZivkovic/7507a531e40bbfdcd21a9839522beadd 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 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