def setUp(self):
    self.maxDiff = None
    comments_path = os.path.abspath(os.path.join(os.path.dirname(__file__), 'comments.json'))
    with open(comments_path) as f:
        self.comments_data = json.load(f)
    file_contents_path = os.path.abspath(os.path.join(os.path.dirname(__file__), 'file_contents.txt'))
    with open(file_contents_path) as f:
        text = f.read()
        self.file_contents = text.split('\n')
def setUp(self):
    self.maxDiff = None
    comments_path = os.path.abspath(os.path.join(os.path.dirname(__file__), 'comments.json'))
    with open(comments_path) as f:
        self.comments_data = json.load(f)
    file_contents_path = os.path.abspath(os.path.join(os.path.dirname(__file__), 'file_contents.txt'))
    with open(file_contents_path) as f:
        text = f.read()
        self.file_contents = text.split('\n')