summaryrefslogtreecommitdiff
path: root/tests/tools.py
diff options
context:
space:
mode:
authorMichael Williamson <mike@zwobble.org>2021-08-01 18:07:40 +0100
committerMichael Williamson <mike@zwobble.org>2021-08-01 18:19:48 +0100
commit41ebdfae4caadeb9ca7d14ef8af45345dfe5099d (patch)
tree394c8bc8842b9e3fbb7349d20946920bf12117b8 /tests/tools.py
parent7a9b0dbc049c1bedb5b8bb0c9a2b766e88fbdf51 (diff)
Replace nose with py.test
Diffstat (limited to 'tests/tools.py')
-rw-r--r--tests/tools.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/tools.py b/tests/tools.py
new file mode 100644
index 0000000..0e318e9
--- /dev/null
+++ b/tests/tools.py
@@ -0,0 +1,6 @@
+def assert_equal(expected, actual):
+ assert expected == actual
+
+
+def assert_is(expected, actual):
+ assert expected is actual