testsuit 0.2.2__tar.gz → 0.2.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (325) hide show
  1. {testsuit-0.2.2/src/testsuit.egg-info → testsuit-0.2.4}/PKG-INFO +1 -1
  2. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/sequencer/README.md +1 -0
  3. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/sequencer/api.py +2 -0
  4. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/sequencer/daemon.py +19 -2
  5. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/sequencer/sequencer.py +11 -0
  6. testsuit-0.2.2/src/testsuit/sequencer/ui/assets/index-CbEFdzIL.js → testsuit-0.2.4/src/testsuit/sequencer/ui/assets/index-ByVklllG.js +201 -201
  7. testsuit-0.2.4/src/testsuit/sequencer/ui/assets/index-JAaa-V_r.css +1 -0
  8. testsuit-0.2.2/src/testsuit/sequencer/ui/assets/python-BZmsOrut.js → testsuit-0.2.4/src/testsuit/sequencer/ui/assets/python-CQ2LZCPk.js +1 -1
  9. testsuit-0.2.2/src/testsuit/sequencer/ui/assets/yaml-DrdUns_S.js → testsuit-0.2.4/src/testsuit/sequencer/ui/assets/yaml-DiqkMoIf.js +1 -1
  10. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/sequencer/ui/index.html +2 -2
  11. {testsuit-0.2.2 → testsuit-0.2.4/src/testsuit.egg-info}/PKG-INFO +1 -1
  12. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit.egg-info/SOURCES.txt +4 -4
  13. {testsuit-0.2.2 → testsuit-0.2.4}/tests/sequencer_t.py +37 -5
  14. {testsuit-0.2.2 → testsuit-0.2.4}/ui/src/editor/InventoryForm.tsx +7 -4
  15. {testsuit-0.2.2 → testsuit-0.2.4}/ui/src/editor/PipelineEditor.tsx +13 -10
  16. {testsuit-0.2.2 → testsuit-0.2.4}/ui/src/editor/Session.tsx +7 -3
  17. {testsuit-0.2.2 → testsuit-0.2.4}/ui/src/editor/SetupForm.tsx +14 -6
  18. {testsuit-0.2.2 → testsuit-0.2.4}/ui/src/editor/TypesForm.tsx +5 -4
  19. {testsuit-0.2.2 → testsuit-0.2.4}/ui/src/editor/commands.tsx +10 -10
  20. {testsuit-0.2.2 → testsuit-0.2.4}/ui/src/editor/state.tsx +22 -2
  21. {testsuit-0.2.2 → testsuit-0.2.4}/ui/src/fields.tsx +131 -12
  22. {testsuit-0.2.2 → testsuit-0.2.4}/ui/src/styles.css +16 -0
  23. testsuit-0.2.2/src/testsuit/sequencer/ui/assets/index-BKl1M_UV.css +0 -1
  24. {testsuit-0.2.2 → testsuit-0.2.4}/.editorconfig +0 -0
  25. {testsuit-0.2.2 → testsuit-0.2.4}/.github/workflows/publish.yml +0 -0
  26. {testsuit-0.2.2 → testsuit-0.2.4}/.github/workflows/tests.yml +0 -0
  27. {testsuit-0.2.2 → testsuit-0.2.4}/.gitignore +0 -0
  28. {testsuit-0.2.2 → testsuit-0.2.4}/CONTRIBUTING.md +0 -0
  29. {testsuit-0.2.2 → testsuit-0.2.4}/LICENSE +0 -0
  30. {testsuit-0.2.2 → testsuit-0.2.4}/README.md +0 -0
  31. {testsuit-0.2.2 → testsuit-0.2.4}/docs/diagrams/overview.puml +0 -0
  32. {testsuit-0.2.2 → testsuit-0.2.4}/docs/diagrams/overview.svg +0 -0
  33. {testsuit-0.2.2 → testsuit-0.2.4}/docs/diagrams/render.sh +0 -0
  34. {testsuit-0.2.2 → testsuit-0.2.4}/docs/diagrams/seq_cancel.puml +0 -0
  35. {testsuit-0.2.2 → testsuit-0.2.4}/docs/diagrams/seq_cancel.svg +0 -0
  36. {testsuit-0.2.2 → testsuit-0.2.4}/docs/diagrams/seq_editor.puml +0 -0
  37. {testsuit-0.2.2 → testsuit-0.2.4}/docs/diagrams/seq_editor.svg +0 -0
  38. {testsuit-0.2.2 → testsuit-0.2.4}/docs/diagrams/seq_run.puml +0 -0
  39. {testsuit-0.2.2 → testsuit-0.2.4}/docs/diagrams/seq_run.svg +0 -0
  40. {testsuit-0.2.2 → testsuit-0.2.4}/docs/diagrams/seq_submit.puml +0 -0
  41. {testsuit-0.2.2 → testsuit-0.2.4}/docs/diagrams/seq_submit.svg +0 -0
  42. {testsuit-0.2.2 → testsuit-0.2.4}/docs/diagrams/toytrain_lab.puml +0 -0
  43. {testsuit-0.2.2 → testsuit-0.2.4}/docs/diagrams/toytrain_lab.svg +0 -0
  44. {testsuit-0.2.2 → testsuit-0.2.4}/examples/config_extract_data_any.json +0 -0
  45. {testsuit-0.2.2 → testsuit-0.2.4}/examples/toytrain/.gitignore +0 -0
  46. {testsuit-0.2.2 → testsuit-0.2.4}/examples/toytrain/README.md +0 -0
  47. {testsuit-0.2.2 → testsuit-0.2.4}/examples/toytrain/baseline_expected.yml +0 -0
  48. {testsuit-0.2.2 → testsuit-0.2.4}/examples/toytrain/datapack/release_store/README.md +0 -0
  49. {testsuit-0.2.2 → testsuit-0.2.4}/examples/toytrain/datapack/release_store/toytrain-sim/v1.1.0/SIM.txt +0 -0
  50. {testsuit-0.2.2 → testsuit-0.2.4}/examples/toytrain/datapack/release_store/toytrain-sim/v1.1.0/dataset.yml +0 -0
  51. {testsuit-0.2.2 → testsuit-0.2.4}/examples/toytrain/datapack/release_store/toytrain-sw/v0.3.0/acquisition/APP.txt +0 -0
  52. {testsuit-0.2.2 → testsuit-0.2.4}/examples/toytrain/datapack/release_store/toytrain-sw/v0.3.0/dataset.yml +0 -0
  53. {testsuit-0.2.2 → testsuit-0.2.4}/examples/toytrain/datapack/release_store/toytrain-sw/v0.3.0/pilot/APP.txt +0 -0
  54. {testsuit-0.2.2 → testsuit-0.2.4}/examples/toytrain/datapack/release_store/toytrain-sw/v0.3.0/pilot/FIRMWARE.txt +0 -0
  55. {testsuit-0.2.2 → testsuit-0.2.4}/examples/toytrain/datapack/release_store/toytrain-sw/v0.3.0/telemetry/APP.txt +0 -0
  56. {testsuit-0.2.2 → testsuit-0.2.4}/examples/toytrain/datapack/setup/globals.yml +0 -0
  57. {testsuit-0.2.2 → testsuit-0.2.4}/examples/toytrain/datapack/setup/platforms/emulated.yml +0 -0
  58. {testsuit-0.2.2 → testsuit-0.2.4}/examples/toytrain/datapack/setup/platforms/sim_bench.yml +0 -0
  59. {testsuit-0.2.2 → testsuit-0.2.4}/examples/toytrain/datapack/setup/scripts/check_data.py +0 -0
  60. {testsuit-0.2.2 → testsuit-0.2.4}/examples/toytrain/datapack/setup/templates/acquisition.yml +0 -0
  61. {testsuit-0.2.2 → testsuit-0.2.4}/examples/toytrain/datapack/setup/templates/exploit.yml +0 -0
  62. {testsuit-0.2.2 → testsuit-0.2.4}/examples/toytrain/datapack/setup/templates/piezo_sim.yml +0 -0
  63. {testsuit-0.2.2 → testsuit-0.2.4}/examples/toytrain/datapack/setup/templates/pilot.yml +0 -0
  64. {testsuit-0.2.2 → testsuit-0.2.4}/examples/toytrain/datapack/setup/templates/propulsion_sim.yml +0 -0
  65. {testsuit-0.2.2 → testsuit-0.2.4}/examples/toytrain/datapack/setup/templates/telemetry.yml +0 -0
  66. {testsuit-0.2.2 → testsuit-0.2.4}/examples/toytrain/datapack/setup/toytrain_setup.yml +0 -0
  67. {testsuit-0.2.2 → testsuit-0.2.4}/examples/toytrain/datapack/testdef/front_contact/criteria/front_contact/front_contact.mexploit.yml +0 -0
  68. {testsuit-0.2.2 → testsuit-0.2.4}/examples/toytrain/datapack/testdef/front_contact/scenario.yml +0 -0
  69. {testsuit-0.2.2 → testsuit-0.2.4}/examples/toytrain/datapack/testdef/front_contact/testdef.yml +0 -0
  70. {testsuit-0.2.2 → testsuit-0.2.4}/examples/toytrain/datapack/testdef/max_speed/criteria/max_speed/max_speed.mexploit.yml +0 -0
  71. {testsuit-0.2.2 → testsuit-0.2.4}/examples/toytrain/datapack/testdef/max_speed/scenario.yml +0 -0
  72. {testsuit-0.2.2 → testsuit-0.2.4}/examples/toytrain/datapack/testdef/max_speed/testdef.yml +0 -0
  73. {testsuit-0.2.2 → testsuit-0.2.4}/examples/toytrain/lab/toytrain_emulated.yml +0 -0
  74. {testsuit-0.2.2 → testsuit-0.2.4}/examples/toytrain/lab/toytrain_lab.yml +0 -0
  75. {testsuit-0.2.2 → testsuit-0.2.4}/examples/toytrain/lab/types/toytrain.yml +0 -0
  76. {testsuit-0.2.2 → testsuit-0.2.4}/examples/toytrain/lab/types_emulated/toytrain.yml +0 -0
  77. {testsuit-0.2.2 → testsuit-0.2.4}/examples/toytrain/pyproject.toml +0 -0
  78. {testsuit-0.2.2 → testsuit-0.2.4}/examples/toytrain/sample/data/front_contact/propulsion.propj +0 -0
  79. {testsuit-0.2.2 → testsuit-0.2.4}/examples/toytrain/sample/data/front_contact/telemetry.csv +0 -0
  80. {testsuit-0.2.2 → testsuit-0.2.4}/examples/toytrain/sample/data/max_speed/propulsion.propj +0 -0
  81. {testsuit-0.2.2 → testsuit-0.2.4}/examples/toytrain/sample/data/max_speed/telemetry.csv +0 -0
  82. {testsuit-0.2.2 → testsuit-0.2.4}/examples/toytrain/sample/exploit_front_contact.yml +0 -0
  83. {testsuit-0.2.2 → testsuit-0.2.4}/examples/toytrain/sample/exploit_max_speed.yml +0 -0
  84. {testsuit-0.2.2 → testsuit-0.2.4}/examples/toytrain/sample/make_runs.py +0 -0
  85. {testsuit-0.2.2 → testsuit-0.2.4}/examples/toytrain/src/toytrain/__init__.py +0 -0
  86. {testsuit-0.2.2 → testsuit-0.2.4}/examples/toytrain/src/toytrain/assets/toytrain_logo.svg +0 -0
  87. {testsuit-0.2.2 → testsuit-0.2.4}/examples/toytrain/src/toytrain/checks.py +0 -0
  88. {testsuit-0.2.2 → testsuit-0.2.4}/examples/toytrain/src/toytrain/cli.py +0 -0
  89. {testsuit-0.2.2 → testsuit-0.2.4}/examples/toytrain/src/toytrain/criteria.py +0 -0
  90. {testsuit-0.2.2 → testsuit-0.2.4}/examples/toytrain/src/toytrain/filemgrs.py +0 -0
  91. {testsuit-0.2.2 → testsuit-0.2.4}/examples/toytrain/src/toytrain/importer.py +0 -0
  92. {testsuit-0.2.2 → testsuit-0.2.4}/examples/toytrain/src/toytrain/plugin.py +0 -0
  93. {testsuit-0.2.2 → testsuit-0.2.4}/examples/toytrain/tests/conftest.py +0 -0
  94. {testsuit-0.2.2 → testsuit-0.2.4}/examples/toytrain/tests/etc/exploit_nok.yml +0 -0
  95. {testsuit-0.2.2 → testsuit-0.2.4}/examples/toytrain/tests/etc/overspeed/overspeed.sim.yml +0 -0
  96. {testsuit-0.2.2 → testsuit-0.2.4}/examples/toytrain/tests/test_cli.py +0 -0
  97. {testsuit-0.2.2 → testsuit-0.2.4}/examples/toytrain/tests/test_criteria.py +0 -0
  98. {testsuit-0.2.2 → testsuit-0.2.4}/examples/toytrain/tests/test_datapack.py +0 -0
  99. {testsuit-0.2.2 → testsuit-0.2.4}/examples/toytrain/tests/test_exploit_runner.py +0 -0
  100. {testsuit-0.2.2 → testsuit-0.2.4}/examples/toytrain/tests/test_formats.py +0 -0
  101. {testsuit-0.2.2 → testsuit-0.2.4}/examples/toytrain/tsq.dev.yml +0 -0
  102. {testsuit-0.2.2 → testsuit-0.2.4}/examples/toytrain/tsq.yml +0 -0
  103. {testsuit-0.2.2 → testsuit-0.2.4}/pyproject.toml +0 -0
  104. {testsuit-0.2.2 → testsuit-0.2.4}/setup.cfg +0 -0
  105. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/__init__.py +0 -0
  106. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/cli/__init__.py +0 -0
  107. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/cli/apply_clock_correction.py +0 -0
  108. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/cli/data2db.py +0 -0
  109. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/cli/data2h5.py +0 -0
  110. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/cli/datapack.py +0 -0
  111. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/cli/evalfile.py +0 -0
  112. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/cli/exploit_runner.py +0 -0
  113. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/cli/extract_data_any.py +0 -0
  114. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/cli/extract_data_flags.py +0 -0
  115. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/cli/mxp.py +0 -0
  116. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/cli/notebooks.py +0 -0
  117. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/cli/tsq.py +0 -0
  118. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/datatools/DataFileMgrs/AFileMgr.py +0 -0
  119. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/datatools/DataFileMgrs/ClickhouseFileMgr.py +0 -0
  120. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/datatools/DataFileMgrs/CsvFileMgr.py +0 -0
  121. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/datatools/DataFileMgrs/DxdFileMgr.py +0 -0
  122. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/datatools/DataFileMgrs/FolderParamMgr.py +0 -0
  123. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/datatools/DataFileMgrs/H5FileMgr.py +0 -0
  124. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/datatools/DataFileMgrs/InfluxDbFileMgr.py +0 -0
  125. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/datatools/DataFileMgrs/MdfFileMgr.py +0 -0
  126. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/datatools/DataFileMgrs/TdmsFileMgr.py +0 -0
  127. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/datatools/DataFileMgrs/UdbfFileMgr.py +0 -0
  128. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/datatools/DataFileMgrs/__init__.py +0 -0
  129. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/datatools/DataFileMgrs/formats.py +0 -0
  130. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/datatools/DataframeToHdf5.py +0 -0
  131. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/datatools/__init__.py +0 -0
  132. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/datatools/data2db.py +0 -0
  133. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/datatools/datapack/ADataImporter.py +0 -0
  134. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/datatools/datapack/GitImporter.py +0 -0
  135. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/datatools/datapack/__init__.py +0 -0
  136. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/datatools/datapack/baseline.py +0 -0
  137. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/datatools/datapack/datapack_tools.py +0 -0
  138. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/datatools/datapack/generators.py +0 -0
  139. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/datatools/datapack/importers.py +0 -0
  140. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/datatools/datapack/model.py +0 -0
  141. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/datatools/datapack/processors.py +0 -0
  142. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/datatools/datapack/templating.py +0 -0
  143. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/datatools/datatoolbox.py +0 -0
  144. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/datatools/h5diff.py +0 -0
  145. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/datatools/plotBackends/__init__.py +0 -0
  146. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/datatools/plotBackends/common.py +0 -0
  147. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/datatools/plotBackends/matplotlibBackend.py +0 -0
  148. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/datatools/plotBackends/plotlyBackend.py +0 -0
  149. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/datatools/plotHelpers.py +0 -0
  150. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/exploit/mexploit/__init__.py +0 -0
  151. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/exploit/mexploit/conftest.py +0 -0
  152. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/exploit/mexploit/conftest_scn_template.py +0 -0
  153. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/exploit/mexploit/criteria.py +0 -0
  154. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/exploit/mexploit/helpers.py +0 -0
  155. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/exploit/mexploit/mexploit.py +0 -0
  156. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/exploit/mexploit/registry.py +0 -0
  157. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/exploit/runner/__init__.py +0 -0
  158. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/exploit/runner/exploit_runner.py +0 -0
  159. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/exploit/runner/report.py +0 -0
  160. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/exploit/runner/report_html.py +0 -0
  161. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/exploit/runner/report_libs/README.md +0 -0
  162. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/exploit/runner/report_libs/showdown.min.js +0 -0
  163. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/exploit/runner/report_libs/toastui-editor-all.min.js +0 -0
  164. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/exploit/runner/report_libs/toastui-editor.min.css +0 -0
  165. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/exploit/runner/runProcess.py +0 -0
  166. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/exploit/runner/utils.py +0 -0
  167. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/jupytertools/FileDialog.py +0 -0
  168. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/jupytertools/JupyterGui.py +0 -0
  169. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/jupytertools/MexploitJupyterGui.py +0 -0
  170. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/jupytertools/PlotJupyterGui.py +0 -0
  171. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/jupytertools/__init__.py +0 -0
  172. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/jupytertools/h5ConvertJupyterGui.py +0 -0
  173. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/jupytertools/install.py +0 -0
  174. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/jupytertools/notebooks/__init__.py +0 -0
  175. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/jupytertools/notebooks/data_plot.ipynb +0 -0
  176. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/jupytertools/notebooks/h5_convert.ipynb +0 -0
  177. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/jupytertools/notebooks/mexploit.ipynb +0 -0
  178. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/misc/MonitorProgress.py +0 -0
  179. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/misc/__init__.py +0 -0
  180. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/misc/files.py +0 -0
  181. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/misc/logger.py +0 -0
  182. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/plugins.py +0 -0
  183. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/sequencer/__init__.py +0 -0
  184. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/sequencer/benchmark.md +0 -0
  185. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/sequencer/component_types.py +0 -0
  186. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/sequencer/config.py +0 -0
  187. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/sequencer/editor.py +0 -0
  188. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/sequencer/editor_api.py +0 -0
  189. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/sequencer/editor_schemas.py +0 -0
  190. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/sequencer/engine.py +0 -0
  191. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/sequencer/gitlab/README.md +0 -0
  192. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/sequencer/gitlab/cleanup.sh +0 -0
  193. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/sequencer/gitlab/config.sh +0 -0
  194. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/sequencer/gitlab/prepare.sh +0 -0
  195. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/sequencer/gitlab/run.sh +0 -0
  196. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/sequencer/intake.py +0 -0
  197. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/sequencer/inventory.py +0 -0
  198. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/sequencer/lab.py +0 -0
  199. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/sequencer/model.py +0 -0
  200. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/sequencer/monitor.py +0 -0
  201. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/sequencer/registry.py +0 -0
  202. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/sequencer/results.py +0 -0
  203. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/sequencer/scheduler.py +0 -0
  204. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/sequencer/store.py +0 -0
  205. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/sequencer/transports/__init__.py +0 -0
  206. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/sequencer/transports/local.py +0 -0
  207. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/sequencer/transports/ssh.py +0 -0
  208. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/sequencer/ui/assets/codicon-DCmgc-ay.ttf +0 -0
  209. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/sequencer/ui/assets/editor.worker-B4pQIWZD.js +0 -0
  210. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/sequencer/ui/assets/ini-BvajGCUy.js +0 -0
  211. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/sequencer/ui/assets/markdown-B811l8j2.js +0 -0
  212. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/sequencer/ui/assets/shell-CsDZo4DB.js +0 -0
  213. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/sequencer/ui/assets/yaml.worker-0FgWxutO.js +0 -0
  214. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/sequencer/util.py +0 -0
  215. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit/sequencer/yamledit.py +0 -0
  216. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit.egg-info/dependency_links.txt +0 -0
  217. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit.egg-info/entry_points.txt +0 -0
  218. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit.egg-info/requires.txt +0 -0
  219. {testsuit-0.2.2 → testsuit-0.2.4}/src/testsuit.egg-info/top_level.txt +0 -0
  220. {testsuit-0.2.2 → testsuit-0.2.4}/tests/clickhousefilemgr_t.py +0 -0
  221. {testsuit-0.2.2 → testsuit-0.2.4}/tests/data2db_t.py +0 -0
  222. {testsuit-0.2.2 → testsuit-0.2.4}/tests/datapack_t.py +0 -0
  223. {testsuit-0.2.2 → testsuit-0.2.4}/tests/datatoolbox_t.py +0 -0
  224. {testsuit-0.2.2 → testsuit-0.2.4}/tests/editor_t.py +0 -0
  225. {testsuit-0.2.2 → testsuit-0.2.4}/tests/etc/data/csv/CorridorParam.csv +0 -0
  226. {testsuit-0.2.2 → testsuit-0.2.4}/tests/etc/data/csv/National_Instruments.csv +0 -0
  227. {testsuit-0.2.2 → testsuit-0.2.4}/tests/etc/data/csv/channels_recording.csv +0 -0
  228. {testsuit-0.2.2 → testsuit-0.2.4}/tests/etc/data/csv/clocks.csv +0 -0
  229. {testsuit-0.2.2 → testsuit-0.2.4}/tests/etc/data/csv/demo_exploit.clean_01.csv +0 -0
  230. {testsuit-0.2.2 → testsuit-0.2.4}/tests/etc/data/csv/demo_exploit.clean_02.csv +0 -0
  231. {testsuit-0.2.2 → testsuit-0.2.4}/tests/etc/data/csv/flags.csv +0 -0
  232. {testsuit-0.2.2 → testsuit-0.2.4}/tests/etc/data/csv/influxdb.csv +0 -0
  233. {testsuit-0.2.2 → testsuit-0.2.4}/tests/etc/data/csv/test_date_at_the_end.csv +0 -0
  234. {testsuit-0.2.2 → testsuit-0.2.4}/tests/etc/datapack/setup/globals.yml +0 -0
  235. {testsuit-0.2.2 → testsuit-0.2.4}/tests/etc/datapack/setup/includes/header.txt +0 -0
  236. {testsuit-0.2.2 → testsuit-0.2.4}/tests/etc/datapack/setup/utest_ref_files/conf_dir/limits.yml +0 -0
  237. {testsuit-0.2.2 → testsuit-0.2.4}/tests/etc/datapack/setup/utest_ref_files/ref1.txt +0 -0
  238. {testsuit-0.2.2 → testsuit-0.2.4}/tests/etc/datapack/setup/utest_ref_files/ref2.txt +0 -0
  239. {testsuit-0.2.2 → testsuit-0.2.4}/tests/etc/datapack/setup/utest_setup.yml +0 -0
  240. {testsuit-0.2.2 → testsuit-0.2.4}/tests/etc/datapack/testdef/datapack_utest.yml +0 -0
  241. {testsuit-0.2.2 → testsuit-0.2.4}/tests/etc/datapack/testdef/local_ref_files/my_ref_file.txt +0 -0
  242. {testsuit-0.2.2 → testsuit-0.2.4}/tests/etc/datapack/testdef/overrides.yml +0 -0
  243. {testsuit-0.2.2 → testsuit-0.2.4}/tests/etc/datapack/testdef/values.yml +0 -0
  244. {testsuit-0.2.2 → testsuit-0.2.4}/tests/etc/exploit_runner/exploit_config_NOK.yml +0 -0
  245. {testsuit-0.2.2 → testsuit-0.2.4}/tests/etc/exploit_runner/exploit_config_NOK_comments.yml +0 -0
  246. {testsuit-0.2.2 → testsuit-0.2.4}/tests/etc/exploit_runner/exploit_config_OK.yml +0 -0
  247. {testsuit-0.2.2 → testsuit-0.2.4}/tests/etc/exploit_runner/exploit_config_OK_comments.yml +0 -0
  248. {testsuit-0.2.2 → testsuit-0.2.4}/tests/etc/exploit_runner/exploit_shiftDateConst_OK.yml +0 -0
  249. {testsuit-0.2.2 → testsuit-0.2.4}/tests/etc/exploit_runner/exploit_shiftDateParam_OK.yml +0 -0
  250. {testsuit-0.2.2 → testsuit-0.2.4}/tests/etc/exploit_runner/scenario/compute_clock_drift/clock_drift.mexploit.yml +0 -0
  251. {testsuit-0.2.2 → testsuit-0.2.4}/tests/etc/exploit_runner/scenario/session_NOK/testrun_01/testsuite01.mexploit.yaml +0 -0
  252. {testsuit-0.2.2 → testsuit-0.2.4}/tests/etc/exploit_runner/scenario/session_NOK/testrun_02/testsuite_02.mexploit.yaml +0 -0
  253. {testsuit-0.2.2 → testsuit-0.2.4}/tests/etc/exploit_runner/scenario/session_OK/testrun_01/testsuite01.mexploit.yml +0 -0
  254. {testsuit-0.2.2 → testsuit-0.2.4}/tests/etc/exploit_runner/scenario/session_OK/testrun_01/testsuite02.mexploit.yml +0 -0
  255. {testsuit-0.2.2 → testsuit-0.2.4}/tests/etc/exploit_runner/scenario/session_OK/testrun_01/testsuite03.mexploit.yaml +0 -0
  256. {testsuit-0.2.2 → testsuit-0.2.4}/tests/etc/exploit_runner/scenario/session_OK/testrun_01/testsuite04.mexploit.yaml +0 -0
  257. {testsuit-0.2.2 → testsuit-0.2.4}/tests/etc/exploit_runner/scenario/session_OK/testrun_02/testsuite01.mexploit.yml +0 -0
  258. {testsuit-0.2.2 → testsuit-0.2.4}/tests/etc/exploit_runner/scenario/session_OK/testrun_02/testsuite02.mexploit.yml +0 -0
  259. {testsuit-0.2.2 → testsuit-0.2.4}/tests/etc/exploit_runner/scenario/session_OK/testrun_02/testsuite03.mexploit.yaml +0 -0
  260. {testsuit-0.2.2 → testsuit-0.2.4}/tests/etc/exploit_runner/scenario/shiftDateConst_OK/param1_partially_shifted.mexploit.yml +0 -0
  261. {testsuit-0.2.2 → testsuit-0.2.4}/tests/etc/exploit_runner/scenario/shiftDateConst_OK/param2_not_shifted.mexploit.yml +0 -0
  262. {testsuit-0.2.2 → testsuit-0.2.4}/tests/etc/exploit_runner/scenario/shiftDateParam_OK/param1_partially_shifted.mexploit.yml +0 -0
  263. {testsuit-0.2.2 → testsuit-0.2.4}/tests/etc/exploit_runner/scenario/shiftDateParam_OK/param2_not_shifted.mexploit.yml +0 -0
  264. {testsuit-0.2.2 → testsuit-0.2.4}/tests/etc/exploit_runner/values.yml +0 -0
  265. {testsuit-0.2.2 → testsuit-0.2.4}/tests/etc/mexploit/custom_exploit/custom_criteria.py +0 -0
  266. {testsuit-0.2.2 → testsuit-0.2.4}/tests/etc/mexploit/custom_exploit/custom_helpers.py +0 -0
  267. {testsuit-0.2.2 → testsuit-0.2.4}/tests/etc/mexploit/scenarii/mxp_NOK_check_param_at_rst/1_check_param_at_rest.mexploit.yaml +0 -0
  268. {testsuit-0.2.2 → testsuit-0.2.4}/tests/etc/mexploit/scenarii/mxp_NOK_corridor/0_corridor.mexploit.yaml +0 -0
  269. {testsuit-0.2.2 → testsuit-0.2.4}/tests/etc/mexploit/scenarii/mxp_NOK_registered_crit/1_registered.mexploit.yaml +0 -0
  270. {testsuit-0.2.2 → testsuit-0.2.4}/tests/etc/mexploit/scenarii/mxp_NOK_sequence/0_sequence.mexploit.yaml +0 -0
  271. {testsuit-0.2.2 → testsuit-0.2.4}/tests/etc/mexploit/scenarii/mxp_NOK_sequence_multi/0_sequence.mexploit.yaml +0 -0
  272. {testsuit-0.2.2 → testsuit-0.2.4}/tests/etc/mexploit/scenarii/mxp_OK_custom_crit/1_custom.mexploit.yaml +0 -0
  273. {testsuit-0.2.2 → testsuit-0.2.4}/tests/etc/mexploit/scenarii/mxp_OK_main_functions/0_time_origin.mexploit.yml +0 -0
  274. {testsuit-0.2.2 → testsuit-0.2.4}/tests/etc/mexploit/scenarii/mxp_OK_main_functions/1_computed_param.mexploit.yml +0 -0
  275. {testsuit-0.2.2 → testsuit-0.2.4}/tests/etc/mexploit/scenarii/mxp_OK_main_functions/1_computed_param_multiline.mexploit.yml +0 -0
  276. {testsuit-0.2.2 → testsuit-0.2.4}/tests/etc/mexploit/scenarii/mxp_OK_main_functions/1_corridor.mexploit.yaml +0 -0
  277. {testsuit-0.2.2 → testsuit-0.2.4}/tests/etc/mexploit/scenarii/mxp_OK_main_functions/1_sequence.mexploit.yaml +0 -0
  278. {testsuit-0.2.2 → testsuit-0.2.4}/tests/etc/mexploit/scenarii/mxp_OK_main_functions/2_plot.mexploit.yaml +0 -0
  279. {testsuit-0.2.2 → testsuit-0.2.4}/tests/etc/mexploit/scenarii/mxp_OK_main_functions/3_helper_dropdups.mexploit.yml +0 -0
  280. {testsuit-0.2.2 → testsuit-0.2.4}/tests/etc/mexploit/scenarii/mxp_OK_main_functions/3_helper_mask_values_on_event.mexploit.yml +0 -0
  281. {testsuit-0.2.2 → testsuit-0.2.4}/tests/etc/mexploit/scenarii/mxp_OK_registered_crit/1_registered.mexploit.yaml +0 -0
  282. {testsuit-0.2.2 → testsuit-0.2.4}/tests/etc/misc/flags_desc.yml +0 -0
  283. {testsuit-0.2.2 → testsuit-0.2.4}/tests/exploit_runner_crash_t.py +0 -0
  284. {testsuit-0.2.2 → testsuit-0.2.4}/tests/exploit_runner_t.py +0 -0
  285. {testsuit-0.2.2 → testsuit-0.2.4}/tests/extensions_t.py +0 -0
  286. {testsuit-0.2.2 → testsuit-0.2.4}/tests/h5filemgr_t.py +0 -0
  287. {testsuit-0.2.2 → testsuit-0.2.4}/tests/loaddata_t.py +0 -0
  288. {testsuit-0.2.2 → testsuit-0.2.4}/tests/mexploit_t.py +0 -0
  289. {testsuit-0.2.2 → testsuit-0.2.4}/tests/misc_t.py +0 -0
  290. {testsuit-0.2.2 → testsuit-0.2.4}/tests/notebooks_t.py +0 -0
  291. {testsuit-0.2.2 → testsuit-0.2.4}/tests/plot_backends_t.py +0 -0
  292. {testsuit-0.2.2 → testsuit-0.2.4}/tests/ref/loaddata_test/National_Instruments.h5 +0 -0
  293. {testsuit-0.2.2 → testsuit-0.2.4}/tests/ref/loaddata_test/channels_recording.h5 +0 -0
  294. {testsuit-0.2.2 → testsuit-0.2.4}/tests/ref/loaddata_test/flags_flags.h5 +0 -0
  295. {testsuit-0.2.2 → testsuit-0.2.4}/tests/ref/loaddata_test/influxdb.h5 +0 -0
  296. {testsuit-0.2.2 → testsuit-0.2.4}/tests/ref/loaddata_test/sample_csv.h5 +0 -0
  297. {testsuit-0.2.2 → testsuit-0.2.4}/tests/ref/loaddata_test/sample_csv_date_at_the_end.h5 +0 -0
  298. {testsuit-0.2.2 → testsuit-0.2.4}/tests/report_html_t.py +0 -0
  299. {testsuit-0.2.2 → testsuit-0.2.4}/tests/tdms_t.py +0 -0
  300. {testsuit-0.2.2 → testsuit-0.2.4}/tests/templating_t.py +0 -0
  301. {testsuit-0.2.2 → testsuit-0.2.4}/ui/e2e/smoke.mjs +0 -0
  302. {testsuit-0.2.2 → testsuit-0.2.4}/ui/index.html +0 -0
  303. {testsuit-0.2.2 → testsuit-0.2.4}/ui/package-lock.json +0 -0
  304. {testsuit-0.2.2 → testsuit-0.2.4}/ui/package.json +0 -0
  305. {testsuit-0.2.2 → testsuit-0.2.4}/ui/src/api.ts +0 -0
  306. {testsuit-0.2.2 → testsuit-0.2.4}/ui/src/editor/EditorHome.tsx +0 -0
  307. {testsuit-0.2.2 → testsuit-0.2.4}/ui/src/editor/Generate.tsx +0 -0
  308. {testsuit-0.2.2 → testsuit-0.2.4}/ui/src/editor/Publish.tsx +0 -0
  309. {testsuit-0.2.2 → testsuit-0.2.4}/ui/src/editor/TemplateEditor.tsx +0 -0
  310. {testsuit-0.2.2 → testsuit-0.2.4}/ui/src/editor/TestdefForm.tsx +0 -0
  311. {testsuit-0.2.2 → testsuit-0.2.4}/ui/src/editor/wizards.tsx +0 -0
  312. {testsuit-0.2.2 → testsuit-0.2.4}/ui/src/files.tsx +0 -0
  313. {testsuit-0.2.2 → testsuit-0.2.4}/ui/src/graph.tsx +0 -0
  314. {testsuit-0.2.2 → testsuit-0.2.4}/ui/src/main.tsx +0 -0
  315. {testsuit-0.2.2 → testsuit-0.2.4}/ui/src/monaco.tsx +0 -0
  316. {testsuit-0.2.2 → testsuit-0.2.4}/ui/src/pages/Config.tsx +0 -0
  317. {testsuit-0.2.2 → testsuit-0.2.4}/ui/src/pages/Lab.tsx +0 -0
  318. {testsuit-0.2.2 → testsuit-0.2.4}/ui/src/pages/Queue.tsx +0 -0
  319. {testsuit-0.2.2 → testsuit-0.2.4}/ui/src/pages/Run.tsx +0 -0
  320. {testsuit-0.2.2 → testsuit-0.2.4}/ui/src/pages/Runs.tsx +0 -0
  321. {testsuit-0.2.2 → testsuit-0.2.4}/ui/src/util.tsx +0 -0
  322. {testsuit-0.2.2 → testsuit-0.2.4}/ui/src/vendor.d.ts +0 -0
  323. {testsuit-0.2.2 → testsuit-0.2.4}/ui/src/yaml.worker.ts +0 -0
  324. {testsuit-0.2.2 → testsuit-0.2.4}/ui/tsconfig.json +0 -0
  325. {testsuit-0.2.2 → testsuit-0.2.4}/ui/vite.config.ts +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: testsuit
3
- Version: 0.2.2
3
+ Version: 0.2.4
4
4
  Summary: This toolbox helps preparing and analysing tests data, based on Pandas mainly.
5
5
  Author: Laurent ML
6
6
  License-Expression: Apache-2.0
@@ -976,6 +976,7 @@ An optional mode of the same UI, enabled with `server.editor` (off by default, s
976
976
  - every name field proposes the values that make sense where it is, each with what it is: the component types with their commands and users, the roles of the stages of a type, the stage types with the stages that have them, the commands a step can run on the components it targets (with the type each command comes from), the keys a template can use with their values and the file each comes from;
977
977
  - what the tests ask of the lab and the lab does not have yet (a role, a stage type) is listed in the inventory form and offered when creating a component;
978
978
  - wizards start from what exists: a new stage copies another with its components renamed; **Add from the lab** creates a setup's logical components and datapack types for every role of a stage type; a new test definition comes with a pipeline that deploys, starts and waits for each component of its setup configuration in the order of their `needs`, and stops and collects them in `finally`;
979
+ - in a form field whose value is rendered with keys (a command, a delay, a timeout, a file to wait for, a step's target...), typing `{{` opens the keys available there, with a quick search: the run-time keys (`component.*`, `run.*`, `params.*`...) and, in a test definition's pipeline, its datapack keys with their values and files. A key the list does not know can still be written as typed;
979
980
  - the YAML view has completion and hover help from the schemas (monaco-yaml) and the server's problems as markers; templates complete the datapack keys after `{{` and show a preview rendered for a component.
980
981
 
981
982
  **Applying a modification.** The same for the three kinds of edits:
@@ -288,6 +288,8 @@ def create_app(seq: Sequencer, lifespan=None) -> FastAPI:
288
288
  return
289
289
  yield ": keepalive\n\n"
290
290
  continue
291
+ if event is None: # the server is stopping
292
+ return
291
293
  if event["kind"] == "log" and not logs:
292
294
  continue
293
295
  if run and event.get("run") and not str(event["run"]).startswith(run):
@@ -62,16 +62,33 @@ def main(argv=None) -> int:
62
62
  parser.add_argument("--log-level", default="info")
63
63
  args = parser.parse_args(argv)
64
64
  logging.basicConfig(level=args.log_level.upper(), format="%(asctime)s %(levelname)s %(name)s: %(message)s")
65
- import uvicorn
66
65
  try:
67
66
  seq, app = build(args.config)
68
67
  except SequencerError as e:
69
68
  print(f"tsqd: {e}", file=sys.stderr)
70
69
  return 2
71
70
  host, _, port = (args.listen or seq.config.server.listen).rpartition(":")
72
- uvicorn.run(app, host=host or "127.0.0.1", port=int(port), log_level=args.log_level.lower())
71
+ serve(seq, app, host or "127.0.0.1", int(port), args.log_level.lower())
73
72
  return 0
74
73
 
75
74
 
75
+ def server(seq, app, host: str, port: int, log_level: str = "info"):
76
+ """The uvicorn server of tsqd. On Ctrl+C or SIGTERM it ends the open event streams first: uvicorn
77
+ waits for every response to finish before it stops, and an event stream never finishes by itself.
78
+ Requests still running after 10 s are cancelled."""
79
+ import uvicorn
80
+
81
+ class Server(uvicorn.Server):
82
+ async def shutdown(self, sockets=None):
83
+ seq.end_streams()
84
+ await super().shutdown(sockets)
85
+
86
+ return Server(uvicorn.Config(app, host=host, port=port, log_level=log_level, timeout_graceful_shutdown=10))
87
+
88
+
89
+ def serve(seq, app, host: str, port: int, log_level: str = "info") -> None:
90
+ server(seq, app, host, port, log_level).run()
91
+
92
+
76
93
  if __name__ == "__main__":
77
94
  sys.exit(main())
@@ -98,6 +98,17 @@ class Sequencer:
98
98
  if kind in ("component", "run") and self._wake is not None:
99
99
  self._wake.set()
100
100
 
101
+ def end_streams(self) -> None:
102
+ """End the open event streams (GET /events): the server is stopping, and would otherwise wait
103
+ for these never-ending responses before it exits."""
104
+ for queue in list(self.subscribers):
105
+ while True:
106
+ try:
107
+ queue.put_nowait(None)
108
+ break
109
+ except asyncio.QueueFull:
110
+ queue.get_nowait() # the end matters more than an event nobody will read
111
+
101
112
  def wake(self) -> None:
102
113
  if self._wake is not None:
103
114
  self._wake.set()