def path_get(self, project_file=None):
        root = os.path.abspath(os.path.join(os.path.dirname(__file__),
                                            '..',
                                            '..',
                                            )
                               )
        if project_file:
            return os.path.join(root, project_file)
        else:
            return root
Get the absolute path to a file. Used for testing the API.
dataset/ETHPy150Open openstack/ironic/ironic/tests/base.py/TestCase.path_get