Deposit: Refactor tests using pytest
Deposit is tested fine.
Most probably, those tests are not that well written though. I remermber there are some repetitions in the setup bootstrap. Also, it's the occasion to start converging on the pytest framework (using dedicated fixtures) as the other modules start to do.
Migrated from T1579 (view on Phabricator)
Edited by Phabricator Migration user