示例#1
0
 def choices():
     return get_attribute_keys_from_class(RiskTags)
示例#2
0
 def choices():
     return get_attribute_keys_from_class(SortDirection)
示例#3
0
 def choices():
     return get_attribute_keys_from_class(FileCategory)
示例#4
0
 def choices():
     return get_attribute_keys_from_class(CaseStatus)
示例#5
0
 def choices():
     return get_attribute_keys_from_class(Severity)
示例#6
0
 def choices():
     return get_attribute_keys_from_class(AlertState)
示例#7
0
 def choices():
     return get_attribute_keys_from_class(ExposureType)
示例#8
0
 def choices():
     return get_attribute_keys_from_class(RuleType)
示例#9
0
 def choices():
     return get_attribute_keys_from_class(HighRiskEmployeeFilters)
示例#10
0
 def choices():
     return get_attribute_keys_from_class(SyncDestination)
示例#11
0
 def choices():
     return get_attribute_keys_from_class(EventType)
示例#12
0
 def choices():
     return get_attribute_keys_from_class(Source)
示例#13
0
def test_get_attribute_keys_from_class_returns_public_class_attribute_keys():
    public_attributes = util.get_attribute_keys_from_class(TestClass)
    assert set(public_attributes) == {"value1", "value2"}
示例#14
0
 def choices():
     return get_attribute_keys_from_class(SharingTypeAdded)
示例#15
0
 def choices():
     return get_attribute_keys_from_class(DepartingEmployeeFilters)