def _test_create_assignment(self):
        test_assignment = Assignment(12, 'Ceva tema grea', date(2019, 12, 12))
        self._assignment_ok = test_assignment
        assert test_assignment.get_assignment_id() == 12

        test_assignment.set_description('Nimic nou')
        assert test_assignment.get_description() == 'Nimic nou'
        assert test_assignment.get_deadline().year == 2019
        assert test_assignment.get_deadline().month == 12
        assert test_assignment.get_deadline().day == 12
        test_assignment.set_deadline(date(2020, 11, 2))
        assert test_assignment.get_deadline().month == 11
 def test_create_assignment(self):
     test_assignment = Assignment(12, 'Homework', date(2019, 12, 1))
     self.assertEqual(test_assignment.get_assignment_id(), 12)
     self.assertEqual(test_assignment.get_deadline(), date(2019, 12, 1))
     test_assignment.set_description('Project')
     self.assertEqual(test_assignment.get_description(), 'Project')