# Path: ice/gridproviders/consolegrid_provider.py
# class ConsoleGridProvider(grid_image_provider.GridImageProvider):
#   def api_url():
#   def is_enabled():
#   def consolegrid_top_picture_url(self, rom):
#   def find_url_for_rom(self, rom):
#   def download_image(self, url):
#   def image_for_rom(self, rom):


import os
import unittest
from mockito import *
from urllib2 import URLError
from ice.gridproviders import consolegrid_provider
# encoding: utf-8
"""
consolegrid_provider_tests.py

Created by Scott on 2014-08-18.
Copyright (c) 2014 Scott Rice. All rights reserved.
"""


# I need to do this instead of importing the class explicitly so that I can
# override the urllib2 function.
# TODO: Use dependency injection so I don't need to use that hack.


class ConsoleGridProviderTests(unittest.TestCase):

  def setUp(self):

# Path: ice/gridproviders/consolegrid_provider.py
# class ConsoleGridProvider(grid_image_provider.GridImageProvider):
#   def api_url():
#   def is_enabled():
#   def consolegrid_top_picture_url(self, rom):
#   def find_url_for_rom(self, rom):
#   def download_image(self, url):
#   def image_for_rom(self, rom):


# Path: tests/consolegrid_provider_tests.py
import os
import unittest
from mockito import *
from urllib2 import URLError
from ice.gridproviders import consolegrid_provider

# encoding: utf-8
"""
consolegrid_provider_tests.py

Created by Scott on 2014-08-18.
Copyright (c) 2014 Scott Rice. All rights reserved.
"""


# I need to do this instead of importing the class explicitly so that I can
# override the urllib2 function.
# TODO: Use dependency injection so I don't need to use that hack.


class ConsoleGridProviderTests(unittest.TestCase):

  def setUp(self):

    self.provider = consolegrid_provider.ConsoleGridProvider()