The test.py script gets the mock scripts consisting of xml and cfg files from the mock folder. from pyIOSXR import IOSXR imports the relevant bundles for the management of IOS XR devices from the project. The mock files are converted by the test script to emulate the Cisco IOS XR devices.