Skip to content

Commit

Permalink
Merge pull request #17 from davyzhang3/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
davyzhang3 authored Jan 26, 2023
2 parents 3a08be7 + fdec019 commit 816572e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion app.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@

@app.route("/")
def main():
return "Welcome Weclouddata! v0.3"
return "Welcome Weclouddata! v0.4"


@app.route('/courses')
def courses():
Expand Down
3 changes: 2 additions & 1 deletion test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand Down

0 comments on commit 816572e

Please sign in to comment.