class TestCase:

    def test_1(self):
        print('test_1')

def test_2(self):
    raise AssertionError('test_2')

def test_3(self):
    print('test_3')
if __name__ == '__main__':
    pass
Run Python unittest so that nothing is printed if successful, only AssertionError() if fails