Skip to content
Snippets Groups Projects
  • Lee McCuller's avatar
    e68077df
    pytest and documentation · e68077df
    Lee McCuller authored and Jameson Rollins's avatar Jameson Rollins committed
    * pytest support: using my (moderately documented) canonical set of pytest fixtures
    * documentation folder: boilerplate documentation and setup taken from dttxml, to be filled in a bit more primarily with apidoc using sphinx-autodoc
    e68077df
    History
    pytest and documentation
    Lee McCuller authored and Jameson Rollins's avatar Jameson Rollins committed
    * pytest support: using my (moderately documented) canonical set of pytest fixtures
    * documentation folder: boilerplate documentation and setup taken from dttxml, to be filled in a bit more primarily with apidoc using sphinx-autodoc
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
test_budgets.py 292 B
"""
"""
import gwinc
from gwinc import load_budget


def test_load(pprint, tpath_join, fpath_join):
    pprint(gwinc.IFOS)
    for ifo in gwinc.IFOS:
        B = load_budget(ifo)
        trace = B.run()
        fig = trace.plot()
        fig.savefig(tpath_join('budget_{}.pdf'.format(ifo)))