Ejemplo n.º 1
0
    def test_distinct_ids(self):

        author_1 = Author()
        author_2 = Author()

        self.assertNotEqual(author_1.get_author_id(), author_2.get_author_id())
Ejemplo n.º 2
0
    def test_get_author_id(self):

        test_author = Author()
        test_author_id = test_author.get_author_id()

        self.assertIsNotNone(test_author_id)