Move Sanitizer service to gaphor.UML package

This commit is contained in:
Arjan Molenaar 2020-04-13 23:42:28 +02:00
parent 6faa2cf7ff
commit 93cf5f6d6e
4 changed files with 3 additions and 2 deletions

View File

@ -0,0 +1 @@
from gaphor.diagram.tests.fixtures import diagram, element_factory, event_manager

View File

@ -3,8 +3,8 @@ import pytest
from gaphor import UML
from gaphor.diagram.general import CommentItem, CommentLineItem
from gaphor.diagram.tests.fixtures import connect
from gaphor.services.sanitizerservice import SanitizerService
from gaphor.UML.classes import ClassItem, GeneralizationItem
from gaphor.UML.sanitizerservice import SanitizerService
@pytest.fixture(autouse=True)

View File

@ -80,7 +80,7 @@ gaphorconvert = 'gaphor.tools.gaphorconvert:main'
"export_menu" = "gaphor.ui.menufragment:MenuFragment"
"tools_menu" = "gaphor.ui.menufragment:MenuFragment"
"copy" = "gaphor.services.copyservice:CopyService"
"sanitizer" = "gaphor.services.sanitizerservice:SanitizerService"
"sanitizer" = "gaphor.UML.sanitizerservice:SanitizerService"
"namespace" = "gaphor.ui.namespace:Namespace"
"toolbox" = "gaphor.ui.toolbox:Toolbox"
"diagrams" = "gaphor.ui.mainwindow:Diagrams"