示例#1
0
def test_detect_mba_negative():
    assert common.MBA_CAP not in caps.detect_supported_caps()
示例#2
0
def test_detect_cat_l3_negative():
    assert common.CAT_CAP not in caps.detect_supported_caps()
示例#3
0
def test_detect_mba():
    assert common.MBA_CAP in caps.detect_supported_caps()
示例#4
0
def test_detect_mba_negative():
    assert not common.CAT_L3_CAP in caps.detect_supported_caps()
    assert not common.MBA_CAP in caps.detect_supported_caps()
    assert common.SSTBF_CAP in caps.detect_supported_caps()
示例#5
0
def test_detect_cat_l3():
    assert common.CAT_CAP in caps.detect_supported_caps()
示例#6
0
def test_detect_cat_l3():
    assert common.CAT_L3_CAP in caps.detect_supported_caps()
    assert not common.MBA_CAP in caps.detect_supported_caps()
    assert not common.SSTBF_CAP in caps.detect_supported_caps()
示例#7
0
def test_detect_cat_l3_negative():
    assert common.CAT_L3_CAP not in caps.detect_supported_caps()
示例#8
0
def test_detect_mba_negative():
    assert common.MBA_CAP not in caps.detect_supported_caps()
示例#9
0
def test_detect_mba():
    assert common.MBA_CAP in caps.detect_supported_caps()
示例#10
0
def test_detect_cat_l3():
    assert common.CAT_CAP in caps.detect_supported_caps()
示例#11
0
def test_detect_sstbf_positive():
    assert common.SSTBF_CAP in caps.detect_supported_caps()
示例#12
0
def test_detect_sstbf_negative():
    assert common.SSTBF_CAP not in caps.detect_supported_caps()