(basename, in_or_out_fragment)
| 33 | |
| 34 | |
| 35 | def read_data_file(basename, in_or_out_fragment): |
| 36 | path = os.path.join( |
| 37 | os.getenv("TEST_SRCDIR"), |
| 38 | os.getenv("TEST_WORKSPACE"), |
| 39 | "scripts/docs/testdata", |
| 40 | in_or_out_fragment, basename) |
| 41 | with open(path, "rt", encoding="utf-8") as f: |
| 42 | return path, f.read() |
| 43 | |
| 44 | |
| 45 | class RewriteLinksTest(parameterized.TestCase): |
no test coverage detected
searching dependent graphs…