(temp_db)
| 7 | |
| 8 | |
| 9 | def test_database_path(temp_db) -> None: |
| 10 | # no database path |
| 11 | test = ShellTest() |
| 12 | result = test.run() |
| 13 | result.check_stdout("Opening the database under in-memory mode.") |
| 14 | |
| 15 | # valid database path |
| 16 | test = ShellTest().add_argument(temp_db).statement('RETURN "databases rule" AS a;') |
| 17 | result = test.run() |
| 18 | result.check_stdout("databases rule") |
| 19 | |
| 20 | |
| 21 | @pytest.mark.parametrize( |
nothing calls this directly
no test coverage detected