From 83c048d1295b9df59d90a7513953c99a267eb1f5 Mon Sep 17 00:00:00 2001
From: Joel Grunbaum <joel.grunbaum@imc.com>
Date: Tue, 11 Jan 2022 07:26:39 +0000
Subject: [PATCH] CYA Cmake, compiling on remote box

---
 test.py |    9 +++++++--
 1 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/test.py b/test.py
index ae18f62..76de53f 100644
--- a/test.py
+++ b/test.py
@@ -40,7 +40,11 @@
     for message in so_far_today:
         protocol.handleMessage(bs, message)
 
-
+def testRecoverBook(bs: {str, book.Book}):
+    f = open("data.test", "r");
+    so_far_today = f.read();
+    for message in so_far_today:
+        protocol.handleMessage(bs, message)
 # print(json.dumps(message))
 # print(send(message))
 # printRecoveryLog()
@@ -49,7 +53,8 @@
 # wstest()
 
 bs = {}
-recoverBook(bs)
+# recoverBook(bs)
+testRecoverBook(bs)
 print(list(bs))
 for i in bs:
     print(bs[i].product)

--
Gitblit v1.9.3