Skip to content

Commit

Permalink
add platform getter back
Browse files Browse the repository at this point in the history
  • Loading branch information
shirshanka committed Jan 20, 2025
1 parent 767dc57 commit ff9add9
Showing 1 changed file with 8 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
import tempfile
from random import randint

import datahub.metadata.schema_classes as models
import pytest

import datahub.metadata.schema_classes as models
from datahub.emitter.mcp import MetadataChangeProposalWrapper
from datahub.ingestion.api.common import PipelineContext, RecordEnvelope
from datahub.ingestion.api.sink import NoopWriteCallback
Expand Down Expand Up @@ -190,15 +190,6 @@ def ingest_cleanup_data(auth_session, graph_client, request):
def test_search_dpi(auth_session, ingest_cleanup_data):
"""Test DPI search and validation of returned fields using GraphQL."""

# TODO: Commented out section of the query that is not yet supported in the backend
# platform {
# urn
# name
# properties {
# type
# }
# }

json = {
"query": """query scrollAcrossEntities($input: ScrollAcrossEntitiesInput!) {
scrollAcrossEntities(input: $input) {
Expand All @@ -219,6 +210,13 @@ def test_search_dpi(auth_session, ingest_cleanup_data):
name
}
}
platform {
urn
name
properties {
type
}
}
subTypes {
typeNames
}
Expand Down

0 comments on commit ff9add9

Please sign in to comment.