about summary refs log tree commit diff
path: root/universe/ac_types/test_utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'universe/ac_types/test_utils.py')
-rw-r--r--universe/ac_types/test_utils.py21
1 files changed, 0 insertions, 21 deletions
diff --git a/universe/ac_types/test_utils.py b/universe/ac_types/test_utils.py
deleted file mode 100644
index 1c1570754eb6..000000000000
--- a/universe/ac_types/test_utils.py
+++ /dev/null
@@ -1,21 +0,0 @@
-silent_on_success = True
-
-
-# I need to define this herein to avoid introducing a circular dependency.
-def with_banner(x):
-    header = '#################################################################'
-    text = '# {}'.format(x)
-    footer = '#################################################################'
-    return '\n'.join([header, text, footer])
-
-
-def simple_assert(actual, expected, name=None):
-    try:
-        assert actual == expected
-        if silent_on_success:
-            return None
-        else:
-            print(with_banner('{}: Test passes!'.format(name)))
-    except:
-        print(with_banner('{}: Test failure.'.format(name)))
-        print(actual)