Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sylvaingaudan committed Nov 13, 2024
1 parent f51b149 commit 30a0d24
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/aproc_download_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class Tests(unittest.TestCase):
def setUp(self):
setUpTest()
requests.delete(SMTP_SERVER + "/*")
add_item(ITEM_PATH, ID)
add_item(self, ITEM_PATH, ID)
sleep(3)
# Create collection
print("create collection {}".format(ARLAS_COLLECTION))
Expand Down
1 change: 0 additions & 1 deletion test/aproc_ingest_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,6 @@ def check_result(self, item: Item, id, assets: list, archive=True):
self.assertIsNotNone(item.properties.main_asset_format)
self.assertIsNotNone(item.properties.main_asset_name)
self.assertIsNotNone(item.properties.proj__epsg)
print(mapper.to_json(item))

def test_job_by_id(self):
url = "/inputs/DIMAP/PROD_SPOT6_001/VOL_SPOT6_001_A/IMG_SPOT6_MS_001_A/"
Expand Down
1 change: 1 addition & 0 deletions test/tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ docker build -f Dockerfile-tests . -t pythontests
docker run --rm -v `pwd`:/app/ --network aias_aias pythontests python3 -m test.airs_tests
docker run --rm -v `pwd`:/app/ --network aias_aias pythontests python3 -m test.aproc_ingest_tests
docker run --rm -v `pwd`:/app/ --network aias_aias pythontests python3 -m test.aproc_download_tests
docker run --rm -v `pwd`:/app/ --network aias_aias pythontests python3 -m test.aproc_enrich_tests
docker run --rm -v `pwd`:/app/ --network aias_aias pythontests python3 -m test.agate_tests
docker run --rm -v `pwd`:/app/ --network aias_aias pythontests python3 -m test.fam_tests
# docker run --rm -v `pwd`:/app/ --network aias_aias pythontests python3 -m test.aproc_ingest_heavyload_tests
Expand Down

0 comments on commit 30a0d24

Please sign in to comment.