Author: gnichols
Date: 2012-03-09 12:28:29 +0000 (Fri, 09 Mar 2012)
New Revision: 1216
Modified:
trunk/v7/tags.py
Log:
782191 - FEAT: v7 should be able to open a new certification request
Modified: trunk/v7/tags.py
===================================================================
--- trunk/v7/tags.py 2012-03-09 12:28:14 UTC (rev 1215)
+++ trunk/v7/tags.py 2012-03-09 12:28:29 UTC (rev 1216)
@@ -69,6 +69,9 @@
v7_image="v7-image"
time_limits="time-limits"
v7_kernel_info="v7-kernel-info"
+ product_url="product-url"
+ catalog_url="catalog-url"
+ category="category"
class Attributes:
@@ -114,6 +117,7 @@
kernel="kernel"
certification_name="certification-name"
id="id"
+ catalog_url="catalog-url"
class Constants:
PASS="PASS"
@@ -250,6 +254,19 @@
tags.append(vars(TestTag)[key])
return tags
-
-
+class SystemCategories:
+ """ Hardware Catalog System Categories """
+ Server="Server"
+ DesktopWorkstation="Desktop/Workstation"
+ Laptop="Laptop"
+ ComponentPeripheral="Component/Peripheral"
+ @staticmethod
+ def getAll():
+ categories=list()
+ for key in vars(SystemCategories):
+ if "_" not in key and "getAll" not in key:
+ categories.append(vars(SystemCategories)[key])
+ return categories
+
+
Show replies by date