Exemple #1
0
def get_comptests():
    # get testing configuration directory 
    from pkg_resources import resource_filename  # @UnresolvedImport
    dirname = resource_filename("boot_agents", "configs")
    
    # load into bootstrapping_olympics
    from comptests import get_comptests_app
    from bootstrapping_olympics import get_boot_config
    boot_config = get_boot_config()
    boot_config.load(dirname)
    
    # Our tests are its tests with our configuration
    import bootstrapping_olympics
    return bootstrapping_olympics.get_comptests()
Exemple #2
0
def get_comptests():
    # get testing configuration directory
    from pkg_resources import resource_filename  # @UnresolvedImport
    dirname = resource_filename("diffeo2dds_sim", "configs")

    tests = []

    import bootstrapping_olympics
    bootstrapping_olympics.get_boot_config().load(dirname)
    tests.extend(bootstrapping_olympics.get_comptests())

    import diffeo2dds_learn
    diffeo2dds_learn.get_diffeo2ddslearn_config().load(dirname)
    tests.extend(diffeo2dds_learn.get_comptests())

    return tests
Exemple #3
0
    def get_comptests():
        # get testing configuration directory
        from pkg_resources import resource_filename  # @UnresolvedImport
        dirname = resource_filename("vehicles_boot", "configs")

        from vehicles import get_vehicles_config
        get_vehicles_config().load('default')

        # load into bootstrapping_olympics
        from comptests import get_comptests_app
        from bootstrapping_olympics import get_boot_config
        boot_config = get_boot_config()
        boot_config.load(dirname)

        # Our tests are its tests with our configuration
        import bootstrapping_olympics
        return bootstrapping_olympics.get_comptests()
Exemple #4
0
def get_comptests():
    # get testing configuration directory
    from pkg_resources import resource_filename  # @UnresolvedImport

    dirname = resource_filename("diffeo2dds_sim", "configs")

    tests = []

    import bootstrapping_olympics

    bootstrapping_olympics.get_boot_config().load(dirname)
    tests.extend(bootstrapping_olympics.get_comptests())

    import diffeo2dds_learn

    diffeo2dds_learn.get_diffeo2ddslearn_config().load(dirname)
    tests.extend(diffeo2dds_learn.get_comptests())

    return tests