def METHOD_NAME(cls):
    cls.system = mockopae.test_system()
    cls.platform = mockopae.test_platform.get("dfl-n3000")
    cls.system.initialize()
    cls.system.prepare_sysfs(cls.platform)
    opae.fpga.initialize(None)
    props = opae.fpga.properties(type=opae.fpga.ACCELERATOR)
    cls.afu_toks = opae.fpga.enumerate([props])
    assert cls.afu_toks
    cls.afu_handle = opae.fpga.open(cls.afu_toks[0])
    assert cls.afu_handle
    props = opae.fpga.properties(type=opae.fpga.DEVICE)
    cls.fme_toks = opae.fpga.enumerate([props])
    assert cls.fme_toks
    cls.fme_handle = opae.fpga.open(cls.fme_toks[0], opae.fpga.OPEN_SHARED)
    assert cls.fme_handle