def test_isQFile(self): """ Testing Q header file format. """ testfile = os.path.join(self.path, 'data', 'QFILE-TEST-SUN.QHD') self.assertEqual(isQ(testfile), True) testfile = os.path.join(self.path, 'data', 'QFILE-TEST-SUN.QBN') self.assertEqual(isQ(testfile), False) testfile = os.path.join(self.path, 'data', 'TEST_090101_0101.ASC') self.assertEqual(isQ(testfile), False)