From c8a38f146b34a41e9296ae678b96e7a59b4a6314 Mon Sep 17 00:00:00 2001 From: Megan Henning Date: Thu, 17 Aug 2017 16:46:30 -0500 Subject: [PATCH] Test that suggest endpoint returns containers --- test/integration_tests/python/test_gears.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/integration_tests/python/test_gears.py b/test/integration_tests/python/test_gears.py index e2e202de2..f94e5c5bc 100644 --- a/test/integration_tests/python/test_gears.py +++ b/test/integration_tests/python/test_gears.py @@ -119,3 +119,6 @@ def test_gear_invocation_and_suggest(data_builder, file_form, as_admin): # test suggest r = as_admin.get('/gears/' + gear + '/suggest/session/' + session) assert r.ok + assert len(r.json()['acquisitions'][0]['files']) > 0 + assert len(r.json()['analyses'][0]['files']) > 0 +