[nfss] Getting data from unexisting project returns empty tests

Bug #1391033 reported by Leo Arias
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu CI Engine
New
Undecided
Unassigned

Bug Description

When I query for the data points of an unexisting project, I get a json back with no tests.
For example, http://nfss.staging.ubuntu.com/api/v1/idontexist returns:

{"project_name": "idontexist", "tests": {}}

I think that is should return an error instead, to make it clear that it's different a project that doesn't exist from a project that exists but has no tests nor data.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.