from tests.test_code_analyzer import test_basic_analyze if __name__ == '__main__': try: test_basic_analyze() print('TESTS OK') except AssertionError as e: print('TEST FAILED', e) except Exception as e: import traceback traceback.print_exc()