Skip to content

Commit

Permalink
adjusting tests
Browse files Browse the repository at this point in the history
  • Loading branch information
skrydal committed Oct 22, 2024
1 parent b4a4ad4 commit c4e9c76
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@
"json": {
"tags": [
{
"tag": "urn:li:tag:urn:li:tag:priority:medium"
"tag": "urn:li:tag:urn:li:tag:priority:medium:test"
}
]
}
Expand Down Expand Up @@ -279,18 +279,18 @@
},
{
"entityType": "platformResource",
"entityUrn": "urn:li:platformResource:f420ca7ace87c5abc48b587e816ddafa",
"entityUrn": "urn:li:platformResource:7fbbf79fb726422dc2434222a8e30630",
"changeType": "UPSERT",
"aspectName": "platformResourceInfo",
"aspect": {
"json": {
"resourceType": "BigQueryLabelInfo",
"primaryKey": "priority/medium",
"primaryKey": "priority/medium:test",
"secondaryKeys": [
"urn:li:tag:priority:medium"
"urn:li:tag:priority:medium:test"
],
"value": {
"blob": "{\"datahub_urn\": \"urn:li:tag:priority:medium\", \"managed_by_datahub\": false, \"key\": \"priority\", \"value\": \"medium\"}",
"blob": "{\"datahub_urn\": \"urn:li:tag:priority:medium:test\", \"managed_by_datahub\": false, \"key\": \"priority\", \"value\": \"medium:test\"}",
"contentType": "JSON",
"schemaType": "JSON",
"schemaRef": "BigQueryLabelInfo"
Expand All @@ -305,7 +305,7 @@
},
{
"entityType": "platformResource",
"entityUrn": "urn:li:platformResource:f420ca7ace87c5abc48b587e816ddafa",
"entityUrn": "urn:li:platformResource:7fbbf79fb726422dc2434222a8e30630",
"changeType": "UPSERT",
"aspectName": "dataPlatformInstance",
"aspect": {
Expand All @@ -321,7 +321,7 @@
},
{
"entityType": "platformResource",
"entityUrn": "urn:li:platformResource:f420ca7ace87c5abc48b587e816ddafa",
"entityUrn": "urn:li:platformResource:7fbbf79fb726422dc2434222a8e30630",
"changeType": "UPSERT",
"aspectName": "status",
"aspect": {
Expand Down Expand Up @@ -1321,12 +1321,12 @@
},
{
"entityType": "tag",
"entityUrn": "urn:li:tag:urn:li:tag:priority:medium",
"entityUrn": "urn:li:tag:urn:li:tag:priority:medium:test",
"changeType": "UPSERT",
"aspectName": "tagKey",
"aspect": {
"json": {
"name": "urn:li:tag:priority:medium"
"name": "urn:li:tag:priority:medium:test"
}
},
"systemMetadata": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ def side_effect(*args: Any) -> Optional[PlatformResource]:
get_platform_resource.side_effect = side_effect
get_datasets_for_project_id.return_value = [
# BigqueryDataset(name=dataset_name, location="US")
BigqueryDataset(name=dataset_name, location="US", labels={"priority": "medium"})
BigqueryDataset(name=dataset_name, location="US", labels={"priority": "medium:test"})
]

table_list_item = TableListItem(
Expand Down

0 comments on commit c4e9c76

Please sign in to comment.