def html_manager_object(self):
     if get_test_env_setting() == 'live':
         return HttpManager(itjobswatch_home_page_url())
     else:
         return HttpManager(itjobswatch_home_page_test_file())
 def __init__(self, file_or_url_address):
     self._html_manager = HttpManager(file_or_url_address)
     self.home_page_html = BeautifulSoup(self._html_manager.html, 'html.parser')
 def test_incorrect_file_or_url_path_raises_name_error(self):
     with pytest.raises(NameError):
         assert HttpManager('test')
 def __init__(self, file_or_url_address):
     self._html_manager = HttpManager(file_or_url_address)
     self.job_search = BeautifulSoup(self._html_manager.html, 'html.parser')
     self._validate_search_returns_a_role()