diff --git a/app.py b/app.py index 4bcbf24..d8ccbe7 100644 --- a/app.py +++ b/app.py @@ -4,7 +4,8 @@ @app.route("/") def main(): - return "Welcome Weclouddata! v0.3" + return "Welcome Weclouddata! v0.4" + @app.route('/courses') def courses(): diff --git a/test.py b/test.py index e402774..40c9009 100644 --- a/test.py +++ b/test.py @@ -10,7 +10,8 @@ def setUp(self): def test_get_welcome_endpoint(self): r = self.app.get('/') - self.assertEqual(r.data, b'Welcome Weclouddata! v0.3') + self.assertEqual(r.data, b'Welcome Weclouddata! v0.4') + def test_get_courses_endpoint(self): r = self.app.get('/courses')