Yes, I think this is a bug and you should use  ```YOUTUBE['API'] = "127.0.0.1:{0}/get_youtube_api/".format(YOUTUBE_PORT)``` to via stubbed youtube server in tests.