()
| 56 | # |
| 57 | @pytest.fixture |
| 58 | def hist(): |
| 59 | from cmd2.cmd2 import ( |
| 60 | History, |
| 61 | HistoryItem, |
| 62 | ) |
| 63 | from cmd2.parsing import ( |
| 64 | Statement, |
| 65 | ) |
| 66 | |
| 67 | return History( |
| 68 | [ |
| 69 | HistoryItem(Statement("", raw="first")), |
| 70 | HistoryItem(Statement("", raw="second")), |
| 71 | HistoryItem(Statement("", raw="third")), |
| 72 | HistoryItem(Statement("", raw="fourth")), |
| 73 | ] |
| 74 | ) |
| 75 | |
| 76 | |
| 77 | # Represents the hist fixture's JSON |
nothing calls this directly
no test coverage detected
searching dependent graphs…