Skip to content

Commit

Permalink
additional test for S1 auxiliary harvesting
Browse files Browse the repository at this point in the history
Signed-off-by: Emmanuel Mathot <[email protected]>
  • Loading branch information
Emmanuel Mathot committed Mar 22, 2017
1 parent 55aa95c commit 648979c
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions src/test/tests.d/test_catalog_s1aux.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/bin/bash

source ./test_common.sh

echo "===== test_catalog_s1aux ====="

reference=" https://qc.sentinel1.eo.esa.int/"

test_harvesting()
{
local output=$( opensearch-client -p count=20 -p startIndex=1 -m EOP -p start=2017-03-20 -p auxtype=aux_resorb -p orbits=true "${reference}" identifier )
assertEquals "S1B_OPER_AUX_RESORB_OPOD_20170321T033159_V20170320T232016_20170321T023746" "${output}"
}


. ${SHUNIT2_HOME}/shunit2

0 comments on commit 648979c

Please sign in to comment.