testsuite.py

Mon, 22 Jan 2018 01:01:10 +0200

author
Santeri Piippo
date
Mon, 22 Jan 2018 01:01:10 +0200
changeset 15
45b3aeb25003
parent 13
12d4ddc4bfd8
child 16
09cc89622262
permissions
-rw-r--r--

Condensed transform_to_xy

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