Skip to content

Commit

Permalink
adds extra edge case tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kim committed Nov 17, 2023
1 parent b53aea3 commit 8839056
Showing 1 changed file with 58 additions and 0 deletions.
58 changes: 58 additions & 0 deletions tests/yml_tests/test_search.yml
Original file line number Diff line number Diff line change
Expand Up @@ -263,4 +263,62 @@ tests:
"C1216244348-ASF",
"C1234413263-ASFDEV"
]
}]

- test-search-build_subquery INTERFEROMETRY:
params:
processingLevel: [INTERFEROMETRY]
expected: [{
collections: [
"C1214336045-ASF", "C1212001698-ASF"
]
}]

- test-search-build_subquery INTERFEROMETRY & SLC Collection:
params:
processingLevel: [INTERFEROMETRY]
collections: [ #S1 SLC collections
"C1214470488-ASF",
"C1205428742-ASF",
"C1234413245-ASFDEV",
"C1327985661-ASF",
"C1216244348-ASF",
"C1234413263-ASFDEV",
]
expected: [{
collections: [
"C1214336045-ASF",
"C1212001698-ASF",
"C1214470488-ASF",
"C1205428742-ASF",
"C1234413245-ASFDEV",
"C1327985661-ASF",
"C1216244348-ASF",
"C1234413263-ASFDEV"
]
}]

- test-search-build_subquery INTERFEROMETRY & SLC Collection with duplicate INTERFEROMETRY collection:
params:
processingLevel: [INTERFEROMETRY]
collections: [ #S1 SLC collections
"C1214470488-ASF",
"C1205428742-ASF",
"C1234413245-ASFDEV",
"C1327985661-ASF",
"C1216244348-ASF",
"C1234413263-ASFDEV",
"C1212001698-ASF" # INTERFEROMETRY
]
expected: [{
collections: [
"C1214336045-ASF",
"C1212001698-ASF",
"C1214470488-ASF",
"C1205428742-ASF",
"C1234413245-ASFDEV",
"C1327985661-ASF",
"C1216244348-ASF",
"C1234413263-ASFDEV"
]
}]

0 comments on commit 8839056

Please sign in to comment.