Closed Bug 1231484 Opened 9 years ago Closed 9 years ago

Mock implementation for marketplace TV API

Categories

(Marketplace Graveyard :: General, defect)

Avenir
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ashort, Assigned: ashort)

References

Details

Use marketplace-mock-api to make a backend suitable for testing TV UI.
Initial work done at https://github.com/washort/marketplace-api-mock/tree/tv
Blocks: TV_P1
Hi Allen,
Thanks for the help. Do you have any update for the mock API? When do you think we can start using the mock API for TV?
Flags: needinfo?(ashort)
tv api changes merged: https://github.com/mozilla/marketplace-api-mock
Status: NEW → RESOLVED
Closed: 9 years ago
Flags: needinfo?(ashort)
Resolution: --- → FIXED
Hi Joseph, Hi Evelyn,
Please check the mock TV API as Allen provided. Thanks.
Flags: needinfo?(jyeh)
Flags: needinfo?(ehung)
Hi Allen, 

I follow the instructions to install marketplace-api-mock and run it locally.

However when I tried to open http://localhost:5000/api/v2/tv/multi-search/ in browser, I got an error shows

TypeError: <lambda>() takes no arguments (1 given)


Did I miss something from the installation? 

(BTW, works fine with http://localhost:5000/api/v2/fireplace/multi-search/)

Thanks :)
Flags: needinfo?(jyeh) → needinfo?(ashort)
Flags: needinfo?(ehung)
This was a mistake in my understanding of how mock apps/sites were generated -- I have updated the git repo with a fix.
Flags: needinfo?(ashort)
You need to log in before you can comment on or make changes to this bug.