Commit 4f429611 authored by Mark Canterbury's avatar Mark Canterbury
Browse files

Updating tests to include validation of instance documents

parents 0c89bb7f f3f09f7c
Loading
Loading
Loading
Loading
Loading
+8 −1
Original line number Diff line number Diff line
@@ -120,11 +120,19 @@ if __name__ == '__main__':
                logging.info(f">Including instance doc {g}")
                includeInstanceDocList.append(g)
        else:
<<<<<<< HEAD
            logging.info(f">Including {p.absolute()}")
            if str(p.absolute()).endswith('.xml'):
                includeInstanceDocList.append(str(p.absolute()))
            elif str(p.absolute()).endswith('.xsd'):
                includeFileList.append(str(p.absolute()))
=======
            logging.info(f"Including {p.absolute()}")
            if str(p.absolute()).endswith('.xml'):
                includeInstanceDocList.append(p.absolute())
            elif str(p.absolute()).endswith('.xml'):
                includeFileList.append(p.absolute())
>>>>>>> f3f09f7c3888b660d639f273b2164823ac0460cc
            else:
                logging.warning(f'Ignoring file {p.absolute()}')
    
@@ -186,4 +194,3 @@ if __name__ == '__main__':
    print (f"{errorCount} instance doc errors detected")
    exit(errorCount)