<filename>hadoop_yarn_cluster_checker_model/MockResponse.py
import requests


class MockResponse(requests.Response):
    text = ""

    def __init__(self, text):
        super().__init__()
        self.text = text

<filename>hadoop_yarn_cluster_checker_model/MockResponse.py
import requests


class MockResponse(requests.Response):
    text = ""

    def __init__(self, text):
        super().__init__()
        self.text = text
