Exemple #1
0
 def on_app_delete(self, app_id: str) -> int:
     db = DataStore(DataStore.get_db_connection(self._db_conn_str))
     db.delete_app(app_id)
     return 204
Exemple #2
0
 def setUp(self) -> None:
     store = DataStore(DBConnection(self.get_db_conn()))
     for app in store.get_apps():
         store.delete_app(app.app_id)