57
57
mock_app_details.purchase_date = "purchase_date"
58
58
mock_app_details.installation_date = "installation_date"
59
59
mock_app_details.price = "price"
60
62
# monkey patch get_details() so that we get the mock object
61
63
app.get_details = lambda db: mock_app_details
62
64
# make sure all PKG_STATE_* states work and do not cause crashes