Skip to content

Commit 64a3b80

Browse files
committed
Refactoring
1 parent 7d2036f commit 64a3b80

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

test/src/test_basic_workflow.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33

44
import linkedpipes
55

6+
COMPONENT = "http://linkedpipes.com/ontology/Component"
7+
HAS_TEMPLATE = "http://linkedpipes.com/ontology/template"
68

79
def test_basic_workflow():
810
"""
@@ -185,9 +187,6 @@ def delete_resources(
185187

186188

187189
def update_pipeline(pipeline_iri: str, template_iri: str):
188-
COMPONENT = "http://linkedpipes.com/ontology/Component"
189-
HAS_TEMPLATE = "http://linkedpipes.com/ontology/template"
190-
191190
pipeline = linkedpipes.get_pipeline(pipeline_iri)
192191
next_graph = []
193192
for resource in pipeline[0]["@graph"]:

0 commit comments

Comments
 (0)