testsuite.py

Sun, 21 Jan 2018 15:03:38 +0200

author
Santeri Piippo
date
Sun, 21 Jan 2018 15:03:38 +0200
changeset 13
12d4ddc4bfd8
parent 12
eb74680a5e43
child 16
09cc89622262
permissions
-rw-r--r--

Got the skew test working

12
eb74680a5e43 commit work done on test suites...
Santeri Piippo
parents:
diff changeset
1 def warning(object, *message):
eb74680a5e43 commit work done on test suites...
Santeri Piippo
parents:
diff changeset
2 return {
eb74680a5e43 commit work done on test suites...
Santeri Piippo
parents:
diff changeset
3 'type': 'warning',
eb74680a5e43 commit work done on test suites...
Santeri Piippo
parents:
diff changeset
4 'object': object,
eb74680a5e43 commit work done on test suites...
Santeri Piippo
parents:
diff changeset
5 'message': str.format(*message),
13
12d4ddc4bfd8 Got the skew test working
Santeri Piippo
parents: 12
diff changeset
6 }
12d4ddc4bfd8 Got the skew test working
Santeri Piippo
parents: 12
diff changeset
7
12d4ddc4bfd8 Got the skew test working
Santeri Piippo
parents: 12
diff changeset
8 def error(object, *message):
12d4ddc4bfd8 Got the skew test working
Santeri Piippo
parents: 12
diff changeset
9 return {
12d4ddc4bfd8 Got the skew test working
Santeri Piippo
parents: 12
diff changeset
10 'type': 'error',
12d4ddc4bfd8 Got the skew test working
Santeri Piippo
parents: 12
diff changeset
11 'object': object,
12d4ddc4bfd8 Got the skew test working
Santeri Piippo
parents: 12
diff changeset
12 'message': str.format(*message),
12d4ddc4bfd8 Got the skew test working
Santeri Piippo
parents: 12
diff changeset
13 }

mercurial