Skip to content

Commit

Permalink
Mark some tests as slow
Browse files Browse the repository at this point in the history
  • Loading branch information
thvitt committed Mar 27, 2020
1 parent 33e484c commit a8fb0ca
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tests/test_graph.py
Expand Up @@ -2,12 +2,16 @@
from macrogen.config import config
import pytest


@pytest.fixture('session')
@pytest.mark.slow
def eades_graphs():
config.fes_method = 'eades'
config.lightweight_timeline = False
return macrogen.graph.MacrogenesisInfo()


@pytest.mark.slow
def test_conflict_info(eades_graphs):
cs = eades_graphs.conflict_stats()
assert cs
assert cs
5 changes: 5 additions & 0 deletions tests/test_witnesses.py
@@ -1,5 +1,6 @@
from pathlib import Path

import pytest
from macrogen import witnesses, config
from macrogen.witnesses import SceneInfo, WitInscrInfo

Expand All @@ -9,6 +10,8 @@ def test_document():
assert doc.sigil == '2 H'
assert doc.uri == 'faust://document/faustedition/2_H'


@pytest.mark.slow
def test_all_documents():
docs = witnesses.all_documents()
assert docs
Expand All @@ -19,5 +22,7 @@ def test_scenes():
assert si.toplevel[0].n == '1.0.1'
assert si.scenes[-1].n == '2.5.5'


@pytest.mark.slow
def test_witinfo():
wi = WitInscrInfo.get()

0 comments on commit a8fb0ca

Please sign in to comment.