Changeset 160

Show
Ignore:
Timestamp:
12/22/06 23:06:43 (6 years ago)
Author:
grig
Message:

Modified regular expression for CODE KWALITEE INDEX (RELATIVE) to account for negative scores.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/tests/functional/test_score.py

    r67 r160  
    2727        installability_regex = r'INSTALLABILITY INDEX \(RELATIVE\) \.\.\.\.\.\.\.\.\s+(\d+)\s+\((\d+) out of a maximum of (\d+) points is (\d+)%\)' 
    2828        documentation_regex = r'DOCUMENTATION INDEX \(RELATIVE\) \.\.\.\.\.\.\.\.\.\s+(\d+)\s+\((\d+) out of a maximum of (\d+) points is (\d+)%\)' 
    29         code_kwalitee_regex = r'CODE KWALITEE INDEX \(RELATIVE\) \.\.\.\.\.\.\.\.\.\s+(\d+)\s+\((\d+) out of a maximum of (\d+) points is (\d+)%\)' 
     29        code_kwalitee_regex = r'CODE KWALITEE INDEX \(RELATIVE\) \.\.\.\.\.\.\.\.\.\s+(-*\d+)\s+\((-*\d+) out of a maximum of (\d+) points is (-*\d+)%\)' 
    3030 
    3131        self._run_cheesecake('-p %s' % os.path.join(DATA_PATH, 'required.tar.gz'))