diff --git a/product_listings_manager/rest_api_v1.py b/product_listings_manager/rest_api_v1.py index fbcb5d3..13a5805 100644 --- a/product_listings_manager/rest_api_v1.py +++ b/product_listings_manager/rest_api_v1.py @@ -35,7 +35,10 @@ def get(self): class About(Resource): def get(self): - return {"version": __version__} + return { + "source": "https://github.com/release-engineering/product-listings-manager", + "version": __version__, + } class Health(Resource): diff --git a/tests/test_rest_api_v1.py b/tests/test_rest_api_v1.py index b511ec7..4cba103 100644 --- a/tests/test_rest_api_v1.py +++ b/tests/test_rest_api_v1.py @@ -31,7 +31,10 @@ def test_get_version(self, client): r = client.get("/api/v1.0/about") assert r.status_code == 200 - assert r.get_json() == {"version": __version__} + assert r.get_json() == { + "source": "https://github.com/release-engineering/product-listings-manager", + "version": __version__, + } class TestHealth(object):