nsrdb.utilities.pytest.execute_pytest

execute_pytest(file, capture='all', flags='-rapP')[source]

Execute module as pytest with detailed summary report.

Parameters:
  • file (str) – Name of pytest file to run

  • capture (str) – Log or stdout/stderr capture option. ex: log (only logger), all (includes stdout/stderr)

  • flags (str) – Which tests to show logs and results for.