import unittest

from mooc_aggregator_restful_api import udacity


class UdacityTestCase(unittest.TestCase):
    '''
    Unit Tests for module udacity

    '''

    def setUp(self):
        self.udacity_test_object = udacity.UdacityAPI()

    def test_udacity_api_response(self):
        self.assertEqual(self.udacity_test_object.status_code(), 200)

    def tearDown(self):
        pass

if __name__ == '__main__':
    unittest.main()

@@ -344,16 +344,203 @@
 , 200)%0A%0A
+    def test_udacity_api_mongofy_courses(self):%0A        course = self.udacity_test_object.mongofy_courses()%5B0%5D%0A        self.assertEqual(course%5B'title'%5D, 'Intro to Computer Science')%0A    %0A
     def 

Add unit test for mongofy_courses of udacity module