Alex Hall
84ddbc448b
(core) Add test_replay for easily replaying data sent to the sandbox purely within python
...
Summary:
Run JS with a value for SANDBOX_BUFFERS_DIR, then run test_replay in python with the same value to replay just the python code.
See test_replay.py for more info.
Test Plan:
Record some data, e.g. `SANDBOX_BUFFERS_DIR=manual npm start` or `SANDBOX_BUFFERS_DIR=server ./test/testrun.sh server`.
Then run `SANDBOX_BUFFERS_DIR=server python -m unittest test_replay` from within `core/sandbox/grist` to replay the input from the JS.
Sample of the output will look like this:
```
Checking /tmp/sandbox_buffers/server/2021-06-16T15:13:59.958Z
True
Checking /tmp/sandbox_buffers/server/2021-06-16T15:16:37.170Z
True
Checking /tmp/sandbox_buffers/server/2021-06-16T15:14:22.378Z
True
```
Reviewers: paulfitz, dsagal
Reviewed By: dsagal
Differential Revision: https://phab.getgrist.com/D2866
2021-06-30 16:56:09 +02:00
..
2021-06-25 12:00:58 +02:00
2021-06-22 17:13:17 +02:00
2021-06-25 12:00:58 +02:00
2021-06-25 12:00:58 +02:00
2021-06-22 17:13:17 +02:00
2021-06-22 17:13:17 +02:00
2021-06-25 12:00:58 +02:00
2021-06-25 12:00:58 +02:00
2021-06-25 12:00:58 +02:00
2021-06-25 22:53:07 -04:00
2021-06-22 17:13:17 +02:00
2021-06-25 22:53:07 -04:00
2021-06-25 22:53:07 -04:00
2021-06-25 22:53:07 -04:00
2021-06-25 22:53:07 -04:00
2021-06-25 22:53:07 -04:00
2021-06-22 17:13:17 +02:00
2021-05-12 10:38:32 -04:00
2020-07-29 08:57:25 -04:00
2021-06-22 17:13:17 +02:00
2020-07-29 08:57:25 -04:00
2021-06-25 22:53:07 -04:00
2021-06-30 16:56:09 +02:00
2020-07-29 08:57:25 -04:00
2021-06-25 22:53:07 -04:00
2021-06-25 12:00:58 +02:00
2021-06-25 12:00:58 +02:00
2021-06-25 12:00:58 +02:00
2021-06-25 22:53:07 -04:00
2021-06-22 17:13:17 +02:00
2021-06-25 22:53:07 -04:00
2021-06-25 12:00:58 +02:00
2021-06-22 17:13:17 +02:00
2021-06-30 16:56:09 +02:00
2021-06-25 22:53:07 -04:00
2021-06-28 15:05:55 -04:00
2021-06-22 17:13:17 +02:00
2021-06-22 17:13:17 +02:00
2021-06-22 17:13:17 +02:00
2021-01-04 22:03:01 -05:00
2020-07-29 08:57:25 -04:00
2021-06-25 12:00:58 +02:00
2021-06-22 17:13:17 +02:00
2020-09-15 15:24:41 -04:00
2020-09-10 18:06:06 -04:00
2021-06-18 15:42:20 +02:00
2020-11-04 16:45:47 -05:00
2021-05-12 11:26:21 -04:00
2021-06-22 17:13:17 +02:00
2021-06-25 22:53:07 -04:00
2020-07-29 08:57:25 -04:00
2021-06-22 17:13:17 +02:00
2021-05-12 11:26:21 -04:00
2021-06-25 12:00:58 +02:00
2021-06-22 17:13:17 +02:00
2021-06-22 17:13:17 +02:00
2021-06-22 17:13:17 +02:00
2020-11-04 16:45:47 -05:00
2020-07-29 08:57:25 -04:00
2020-11-04 16:45:47 -05:00
2021-06-22 17:13:17 +02:00
2021-06-22 17:13:17 +02:00
2021-06-22 17:13:17 +02:00
2021-06-22 17:13:17 +02:00
2021-06-25 22:53:07 -04:00
2020-11-26 22:29:37 -05:00
2021-06-25 12:00:58 +02:00
2020-11-04 16:45:47 -05:00
2021-06-25 12:00:58 +02:00
2021-06-30 16:56:09 +02:00
2020-11-04 16:45:47 -05:00
2021-06-22 17:13:17 +02:00
2020-11-04 16:45:47 -05:00
2020-07-29 08:57:25 -04:00
2021-06-22 17:13:17 +02:00
2020-12-15 16:39:56 -05:00
2021-06-22 17:13:17 +02:00
2020-07-29 08:57:25 -04:00
2021-06-25 22:53:07 -04:00
2020-07-29 08:57:25 -04:00
2021-06-25 12:00:58 +02:00
2021-06-22 17:13:17 +02:00
2021-06-25 12:00:58 +02:00
2021-06-22 17:13:17 +02:00
2020-07-29 08:57:25 -04:00
2021-06-25 12:00:58 +02:00
2021-06-25 22:53:07 -04:00
2021-06-25 12:00:58 +02:00
2020-07-29 08:57:25 -04:00
2021-06-22 17:13:17 +02:00
2020-07-29 08:57:25 -04:00
2021-06-25 12:00:58 +02:00
2021-06-28 15:05:55 -04:00
2021-06-25 22:53:07 -04:00
2021-06-29 10:24:16 -04:00