Stub a web request for testing.

def stub_request(self, expected_url, filename, status=None, body=None):
        """Stub a web request for testing."""
        self.fake_web = True
        self.faker = get_faker(expected_url, filename, status, body)