()
| 51 | |
| 52 | |
| 53 | def test_clp_arg_file(): |
| 54 | # type: () -> None |
| 55 | with NamedTemporaryFile() as tmpfile: |
| 56 | tmpfile.write(to_bytes("-r\nrequirements1.txt\r-r\nrequirements2.txt")) |
| 57 | tmpfile.flush() |
| 58 | |
| 59 | parser = configure_clp() |
| 60 | options = parser.parse_args(args=["@" + tmpfile.name]) |
| 61 | assert options.requirement_files == ["requirements1.txt", "requirements2.txt"] |
| 62 | |
| 63 | |
| 64 | def test_clp_preamble_file(): |
nothing calls this directly
no test coverage detected