Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion applications/virtual-fly-brain/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ RUN export VFB_DOMAIN="https://${BE_DOMAIN}" && yarn run build
WORKDIR /usr/src/app
COPY backend/requirements.txt /usr/src/app/
RUN pip3 install --no-cache-dir -r requirements.txt
RUN echo 'test s'
COPY backend/ /usr/src/app
RUN pip3 install -e .

Expand Down
2 changes: 1 addition & 1 deletion applications/virtual-fly-brain/backend/requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@ dataclasses_json >= 0.5.7
dacite >= 1.6.0
pandas >= 1.0.0
numpy >= 1.19.0
vfbquery==0.4.0
vfbquery==0.5.1
6 changes: 5 additions & 1 deletion applications/virtual-fly-brain/backend/tests/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,11 @@ def test_get_instances(self):
self.assertEqual(response.status_code, 200)
# # Parse the JSON response
data = json.loads(response.data)
self.assertIsInstance(data, list)
self.assertIsInstance(data, dict)
self.assertIn('count', data)
self.assertIn('headers', data)
self.assertIn('rows', data)
self.assertIsInstance(data['rows'], list)

def test_get_term_info(self):
"""Test the /get_term_info route."""
Expand Down
Loading