I had to introduce the location parameter to restore_item() as I have not found a way of retrieving the previous item location, if you got any alternative way please suggest.
As for test.py should I assert every time I call restore_item()in the remove_item() tests?
Should more tests be added?
I had to introduce the
location
parameter torestore_item()
as I have not found a way of retrieving the previous item location, if you got any alternative way please suggest.As for test.py should I assert every time I call
restore_item()
in theremove_item()
tests? Should more tests be added?