(cli, dotenv_file)
| 57 | |
| 58 | |
| 59 | def test_get_existing_value(cli, dotenv_file): |
| 60 | with open(dotenv_file, "w") as f: |
| 61 | f.write("a=b") |
| 62 | |
| 63 | result = cli.invoke(dotenv_cli, ['--file', dotenv_file, 'get', 'a']) |
| 64 | |
| 65 | assert (result.exit_code, result.output) == (0, "b\n") |
| 66 | |
| 67 | |
| 68 | def test_get_non_existent_value(cli, dotenv_file): |
nothing calls this directly
no outgoing calls
no test coverage detected