'Test identicality of two simple, extensionless files.'

def test_identical_files_basic(self):

    a = np.arange(100).reshape((10, 10))
    hdu = PrimaryHDU(data=a)
    hdu.writeto(self.temp('testa.fits'))
    hdu.writeto(self.temp('testb.fits'))
    diff = FITSDiff(self.temp('testa.fits'), self.temp('testb.fits'))
    assert diff.identical
    report = diff.report()
    assert ('Primary    HDU' not in report)
    assert ('Extension    HDU' not in report)
    assert ('No    differences    found.' in report)
    a = np.arange(10)
    ehdu = ImageHDU(data=a)
    diff = HDUDiff(ehdu, ehdu)
    assert diff.identical
    report = diff.report()
    assert ('No    differences    found.' in report)
