Mark load UML model file test as slow
This commit is contained in:
parent
bac72dc7a2
commit
685b4f3383
@ -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.
|
||||
|
@ -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"')
|
Loading…
x
Reference in New Issue
Block a user