Skip to content

Commit

Permalink
Initiate tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pwwang committed Aug 1, 2019
1 parent 93155e3 commit 6df400b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Empty file added tests/__init__.py
Empty file.
12 changes: 12 additions & 0 deletions tests/test_report.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
import pytest
from pyppl import PyPPL, Proc
from os import environ
environ['PYPPL_default__plugins'] = 'py:["pyppl-report"]'

@pytest.fixture
def proc():
p = Proc()

def test_basic(proc, tmp_path):

PyPPL().start(proc).run().report(outfile = str(tmp_path / 'pyppl-report-test-basic.html'))

0 comments on commit 6df400b

Please sign in to comment.