about summary refs log tree commit diff
path: root/universe/ac_types/test_utils.py
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-01-29T14·43+0000
committerWilliam Carroll <wpcarro@gmail.com>2020-01-29T14·43+0000
commit5c9079a41059e077f2b71b68eb83ff9fcb2e38d1 (patch)
treedce7e3566b04213228fb3c92fc593ca18841d972 /universe/ac_types/test_utils.py
parentfb9380ba268b3cd27372acadb87b14cc96163374 (diff)
Splice ./universe directory into ./
Manually merging:
- README.md: I added the description from universe/README.md into the heading of
  dotfiles/README.md.
- .envrc: dotfiles/.envrc was a superset of universe/.envrc
- .gitignore: Adding some of the ignored patterns from universe/.gitignore to
  dotfiles/.gitignore

Everything else here should be a simple rename.
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)