Test adding duplicate paper returns None
(self, test_db_path, sample_paper)
| 109 | """Test adding duplicate paper returns None""" |
| 110 | import db_ops |
| 111 | db_ops.DB_PATH = test_db_path |
| 112 | |
| 113 | # Add first paper |
| 114 | add_paper(sample_paper) |
| 115 | |
| 116 | # Try to add duplicate |
| 117 | result = add_paper(sample_paper) |
| 118 | assert result is None |
| 119 | |
| 120 | def test_get_paper_by_arxiv(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 |
nothing calls this directly
no test coverage detected