I was seeing the tests and it looks very well. I wanted to improve them so I put them in a unittest class.
Also, I created a new test. It help us to mock the Itunes' responses and we can test some parts of the core.py. For example, we can mock the Itunes' response and generate a different http status code, then the core.py can generate the ItunesServerNotAvailable exception.
I was seeing the tests and it looks very well. I wanted to improve them so I put them in a unittest class.
Also, I created a new test. It help us to mock the Itunes' responses and we can test some parts of the core.py. For example, we can mock the Itunes' response and generate a different http status code, then the core.py can generate the ItunesServerNotAvailable exception.
Thanks for the feedback