Show More
@@ -114,6 +114,12 b' def test_history():' | |||||
114 | newhist[2], |
|
114 | newhist[2], | |
115 | newhist[3]]) |
|
115 | newhist[3]]) | |
116 |
|
116 | |||
|
117 | gothist = ip.history_manager.search("*=*", unique=True, n=3) | |||
|
118 | nt.assert_equal(list(gothist), | |||
|
119 | [(1, 3, hist[2]), | |||
|
120 | newhist[2], | |||
|
121 | newhist[3]]) | |||
|
122 | ||||
117 | gothist = ip.history_manager.search("b*", output=True) |
|
123 | gothist = ip.history_manager.search("b*", output=True) | |
118 | nt.assert_equal(list(gothist), [(1,3,(hist[2],"spam"))] ) |
|
124 | nt.assert_equal(list(gothist), [(1,3,(hist[2],"spam"))] ) | |
119 |
|
125 |
General Comments 0
You need to be logged in to leave comments.
Login now