def METHOD_NAME(self):
    # Check attributes for comparison of two identical directories
    d = filecmp.dircmp(self.dir, self.dir_same)
    if self.caseinsensitive:
        self.assertEqual([d.left_list, d.right_list],[['file'], ['FiLe']])
    else:
        self.assertEqual([d.left_list, d.right_list],[['file'], ['file']])
    self.assertTrue(d.common == ['file'])
    self.assertTrue(d.left_only == d.right_only == [])
    self.assertTrue(d.same_files == ['file'])
    self.assertTrue(d.diff_files == [])
    # Check attributes for comparison of two different directories
    d = filecmp.dircmp(self.dir, self.dir_diff)
    self.assertTrue(d.left_list == ['file'])
    self.assertTrue(d.right_list == ['file', 'file2'])
    self.assertTrue(d.common == ['file'])
    self.assertTrue(d.left_only == [])
    self.assertTrue(d.right_only == ['file2'])
    self.assertTrue(d.same_files == ['file'])
    self.assertTrue(d.diff_files == [])
    # Add different file2
    output = open(os.path.join(self.dir, 'file2'), 'w')
    output.write('Different contents.\n')
    output.close()
    d = filecmp.dircmp(self.dir, self.dir_diff)
    self.assertTrue(d.same_files == ['file'])
    self.assertTrue(d.diff_files == ['file2'])