diff --git a/tests/api/test_study.py b/tests/api/test_study.py index 70e00b556..b1344f4f4 100644 --- a/tests/api/test_study.py +++ b/tests/api/test_study.py @@ -76,7 +76,7 @@ def test_csv(self, client, studies): assert response.get('Content-Disposition') == 'attachment; filename="Study.csv"' content = b''.join(response.streaming_content).decode('utf-8') - expected_header = [ + expected_header = ",".join([ "\"accession\"", "\"analyses\"", "\"bioproject\"", @@ -93,7 +93,7 @@ def test_csv(self, client, studies): "\"study_abstract\"", "\"study_name\"", "\"url\"" - ] + ]) first_row = [ "MGYS00000001", "",