| 1 |
#!/usr/bin/python3 -cimport os, sys; os.execv(os.path.dirname(sys.argv[1]) + "/../common/pywrap", sys.argv) |
| 2 |
import os |
| 3 |
import unittest |
| 4 |
|
| 5 |
import testlib |
| 6 |
|
| 7 |
|
| 8 |
class NoTestRetryExample(unittest.TestCase): |
| 9 |
|
| 10 |
def testFail(self): |
| 11 |
if os.environ.get('TEST_FAILURES'): |
| 12 |
self.assertFalse(True) # ruff: ignore[boolean-positional-value-in-call] |
| 13 |
|
| 14 |
@testlib.no_retry_when_changed |
| 15 |
def testNoRetry(self): |
| 16 |
self.assertTrue(True) # ruff: ignore[boolean-positional-value-in-call] |
| 17 |
|
| 18 |
def testBasic(self): |
| 19 |
self.assertTrue(True) # ruff: ignore[boolean-positional-value-in-call] |
| 20 |
|
| 21 |
|
| 22 |
if __name__ == '__main__': |
| 23 |
testlib.test_main() |