Skip to content

Commit

Permalink
fix(tavern):[#503] adjusting globalAssetIDs for github workflow and a…
Browse files Browse the repository at this point in the history
…djusting tests
  • Loading branch information
ds-kgassner committed May 21, 2024
1 parent 04efe7e commit 567bb1d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tavern.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ on:
global-asset-id-asBuilt:
type: string
description: Global-asset-id to use for the asBuilt tests.
default: 'urn:uuid:8724338c-5c85-4c34-91eb-e2735d58fb0d'
default: 'urn:uuid:4509ea7c-c8d2-41a1-83ca-c214ee34af6c'
required: true
bpn-asBuilt:
type: string
Expand Down Expand Up @@ -87,7 +87,7 @@ jobs:
BPN_ESS_AS_BUILT: ${{ github.event.inputs.bpn-ess-asBuilt || 'BPNL00000003CRHK' }}
BPN_ESS_INCIDENT: ${{ github.event.inputs.bpn-ess-incident || 'BPNS00000003B6LU' }}
BPN_AS_PLANNED: ${{ github.event.inputs.bpn-asPlanned || 'BPNL00000003AYRE' }}
GLOBAL_ASSET_ID_AS_BUILT: ${{ github.event.inputs.global-asset-id-asBuilt || 'urn:uuid:6d505432-8b31-4966-9514-4b753372683f' }}
GLOBAL_ASSET_ID_AS_BUILT: ${{ github.event.inputs.global-asset-id-asBuilt || 'urn:uuid:4509ea7c-c8d2-41a1-83ca-c214ee34af6c' }}
BPN_AS_BUILT: ${{ github.event.inputs.bpn-asBuilt || 'BPNL00000003AVTH' }}
run: |
python -m pytest local/testing/api-tests/irs-api-tests.tavern.yaml --junitxml=tavern-results.xml
Expand Down
7 changes: 3 additions & 4 deletions local/testing/api-tests/irs-api-tests.tavern.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1273,7 +1273,6 @@ stages:
status_code: 200
verify_response_with:
- function: local.testing.api-tests.tavern_helpers:submodels_are_empty
- function: local.testing.api-tests.tavern_helpers:submodelDescriptors_in_shells_are_empty
- function: local.testing.api-tests.tavern_helpers:aspects_in_job_parameter_are_empty
- function: local.testing.api-tests.tavern_helpers:relationships_are_not_empty
- function: local.testing.api-tests.tavern_helpers:check_timestamps_for_completed_jobs
Expand Down Expand Up @@ -1639,9 +1638,9 @@ stages:
# depth: 2
# method: POST
# headers:
content-type: application/json
$ext:
function: local.testing.api-tests.tavern_helpers:create_api_key
# content-type: application/json
# $ext:
# function: local.testing.api-tests.tavern_helpers:create_api_key
# response:
# status_code: 201
# json:
Expand Down

0 comments on commit 567bb1d

Please sign in to comment.