Beispiel #1
0
def list_transactions():
    transactions = specter_df()
    return render_template("warden/transactions.html",
                           title="Specter Transaction History",
                           transactions=transactions,
                           current_app=current_app)
Beispiel #2
0
def dismiss_notification():
    # Run the df and clean the files (True)
    specter_df(delete_files=True)
    flash("Notification dismissed. New CheckPoint created.", "success")
    return json.dumps("Done")
Beispiel #3
0
 def test_specter_txs(self):
     print("Testing Specter Transactions...")
     df = specter_df()
     print(df)
     self.assertIsInstance(df, pd.DataFrame)
     self.assertFalse(df.empty)