Skip to content

Commit b6717b6

Browse files
committedNov 8, 2015
Followup b5794b2, fix calculation of acceptable limits
1 parent 26dbb42 commit b6717b6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed
 

‎tests/src/python/test_qgssipcoverage.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
# DON'T RAISE THIS THRESHOLD!!!
3838
# (changes which lower this threshold are welcomed though!)
3939

40-
ACCEPTABLE_MISSING_CLASSES = 198
40+
ACCEPTABLE_MISSING_CLASSES = 196
4141
ACCEPTABLE_MISSING_MEMBERS = 530
4242

4343

@@ -109,9 +109,9 @@ def testCoverage(self):
109109

110110
if __name__ == '__main__':
111111
if "MISSING_SIP_CLASSES" in os.environ:
112-
ACCEPTABLE_MISSING_CLASSES -= int(os.environ['MISSING_SIP_CLASSES'])
112+
ACCEPTABLE_MISSING_CLASSES += int(os.environ['MISSING_SIP_CLASSES'])
113113

114114
if "MISSING_SIP_MEMBERS" in os.environ:
115-
ACCEPTABLE_MISSING_MEMBERS -= int(os.environ['MISSING_SIP_MEMBERS'])
115+
ACCEPTABLE_MISSING_MEMBERS += int(os.environ['MISSING_SIP_MEMBERS'])
116116

117117
unittest.main()

0 commit comments

Comments
 (0)
Please sign in to comment.