def setUp(self):
     # tests are run from tests.py
     with open(
             os.path.join(os.getcwd(), 'recipe_scrapers', 'tests',
                          'test_data',
                          'realsimple.testhtml')) as file_opened:
         self.harvester_class = RealSimple(file_opened, test=True)
 def setUp(self):
     # tests are run from tests.py
     with open(
             os.path.join(os.path.dirname(os.path.realpath(__file__)),
                          'test_data',
                          'realsimple.testhtml')) as file_opened:
         self.harvester_class = RealSimple(file_opened, test=True)