(self, tmp_path, monkeypatch)
| 551 | assert s["targets"] == ["test@example.com"] |
| 552 | |
| 553 | def test_load_empty_when_dir_absent(self, tmp_path, monkeypatch): |
| 554 | import openosint.session_history as sh |
| 555 | |
| 556 | monkeypatch.setattr(sh, "HISTORY_DIR", tmp_path / "nonexistent") |
| 557 | from openosint.session_history import load_sessions |
| 558 | |
| 559 | assert load_sessions() == [] |
| 560 | |
| 561 | def test_count_sessions_zero_when_empty(self, tmp_path, monkeypatch): |
| 562 | import openosint.session_history as sh |
nothing calls this directly
no test coverage detected