slaclab / trace

Live and Archived data plotting tool
https://slaclab.github.io/trace/
3 stars 4 forks source link

TST: Tests For main.py #86

Closed zdomke closed 1 day ago

zdomke commented 3 days ago

Adding tests for main.py. Also adding tests for ArchiverAxisModel.set_model_axes and ArchiverCurveModel.set_model_curves for passing empty arguments.

The only fix that came up while writing tests was in main.py, changing from subprocess import run to import subprocess.