Test retrieving paper by arxiv_id
(self, test_db_path, sample_paper)
| 121 | """Test retrieving paper by arxiv_id""" |
| 122 | import db_ops |
| 123 | db_ops.DB_PATH = test_db_path |
| 124 | |
| 125 | # Add paper |
| 126 | add_paper(sample_paper) |
| 127 | |
| 128 | # Retrieve by arxiv_id |
| 129 | result = get_paper_by_arxiv(sample_paper["arxiv_id"]) |
| 130 | assert result is not None |
| 131 | assert result["arxiv_id"] == sample_paper["arxiv_id"] |
| 132 | |
| 133 | |
| 134 | class TestBehaviorLogOperations: |
| 135 | """Tests for behavior log operations""" |
| 136 | |
| 137 | def test_log_behavior(self, test_db_path): |
nothing calls this directly
no test coverage detected