diff options
Diffstat (limited to 'tests/test.py')
-rw-r--r-- | tests/test.py | 39 |
1 files changed, 0 insertions, 39 deletions
diff --git a/tests/test.py b/tests/test.py deleted file mode 100644 index 895c4f6..0000000 --- a/tests/test.py +++ /dev/null @@ -1,39 +0,0 @@ -#!/usr/bin/python3-dbg -# -*- coding: utf-8 -*- - - - -class TestSuite: - - - - - - - - - def print_sep(): - """Print a separator line.""" - - print('------------------------') - - - def check_true(desc, code): - """Check if an expression is true.""" - - try: - test = code() - except: - test = False - - if test: - print('[+] %s: OK' % desc) - else: - print('[+] %s: nok...' % desc) - raise Exception('Unexpected result!') - - - - - - |