gristlabs_grist-core/app/server
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
..
lib (core) Add test_replay for easily replaying data sent to the sandbox purely within python 2021-06-30 16:56:09 +02:00
declarations.d.ts (core) Generic tools for recording pycalls, deterministic mode. 2021-06-15 20:58:05 +02:00
devServerMain.ts (core) make SELF_HYPERLINK urls cleaner 2021-05-28 08:54:37 -04:00
mergedServerMain.ts (core) add housekeeping endpoints for cleaning doc snapshots+state 2021-01-05 10:31:14 -05:00
serverMethods.ts (core) Use individual choices for filtering choice lists 2021-06-11 09:34:06 -07:00
tsconfig.json (core) move home server into core 2020-07-21 20:39:10 -04:00