[Piglit] [PATCH 6/7] framework/status.py: rename 'Not Run' to 'notrun'

Dylan Baker baker.dylan.c at gmail.com
Wed Sep 2 14:18:25 PDT 2015


This matches the behavior of the other statuses. It looks odd, and it
makes it hard to convert back from a string, since internally 'notrun'
is used as the string representation.

Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
---
 framework/status.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/framework/status.py b/framework/status.py
index 1e974a1..51a7e21 100644
--- a/framework/status.py
+++ b/framework/status.py
@@ -227,7 +227,7 @@ class NoChangeStatus(Status):
         raise TypeError("Cannot compare type: {}".format(type(other)))
 
 
-NOTRUN = NoChangeStatus('Not Run')
+NOTRUN = NoChangeStatus('notrun')
 
 SKIP = NoChangeStatus('skip')
 
-- 
2.5.1



More information about the Piglit mailing list