Mark load UML model file test as slow

This commit is contained in:
Arjan Molenaar 2020-02-22 19:20:20 +01:00
parent bac72dc7a2
commit 685b4f3383
2 changed files with 7 additions and 1 deletions

View File

@ -5,6 +5,8 @@ Unittest the storage and parser modules
import re
from io import StringIO
import pytest
from gaphor import UML
from gaphor.application import distribution
from gaphor.diagram.classes import AssociationItem, ClassItem, InterfaceItem
@ -147,6 +149,7 @@ class StorageTestCase(TestCase):
assert len(elements) == 1, elements
assert elements[0].name == difficult_name, elements[0].name
@pytest.mark.slow
def test_load_uml_metamodel(self):
"""
Test if the meta model can be loaded.

View File

@ -9,4 +9,7 @@ python_files = test_*.py
# Console tests are failing the GitHub Actions CI (seg fault)
norecursedirs = gaphor/plugins/console/tests
junit_family=xunit1
junit_family=xunit1
markers =
slow: marks tests as slow (deselect with '-m "not slow"')