Commit 4ae05bdd authored by Jaden's avatar Jaden Committed by Flavio TARSETTI

[reports] fix nosetests to expect new field

parent c2a1b7c9
......@@ -891,6 +891,7 @@ class EditableReportRetrievalTestCase(ReportTestCase):
"status": "editable",
"creation_date": self.report.creation_date.isoformat(),
"publication_date": None,
"experiment_access_map": [],
"experiments": [],
"content": {},
"analyzer": None,
......@@ -942,6 +943,7 @@ class LockedReportRetrievalTestCase(ReportTestCase):
"status": "locked",
"creation_date": self.report.creation_date.isoformat(),
"publication_date": None,
"experiment_access_map": [True],
"experiments": [self.experiment_analyzer1.fullname()],
"content": {},
"analyzer": None,
......@@ -989,6 +991,7 @@ class PublishedReportRetrievalTestCase(ReportTestCase):
"status": "published",
"creation_date": self.report.creation_date.isoformat(),
"publication_date": self.report.publication_date.isoformat(),
"experiment_access_map": [False],
"experiments": [self.experiment_analyzer1.fullname()],
"content": {},
"analyzer": None,
......@@ -1010,6 +1013,7 @@ class PublishedReportRetrievalTestCase(ReportTestCase):
"status": "published",
"creation_date": self.report.creation_date.isoformat(),
"publication_date": self.report.publication_date.isoformat(),
"experiment_access_map": [True],
"experiments": [self.experiment_analyzer1.fullname()],
"content": {},
"analyzer": None,
......@@ -1031,6 +1035,7 @@ class PublishedReportRetrievalTestCase(ReportTestCase):
"is_owner": False,
"author": self.johndoe.username,
"status": "published",
"experiment_access_map": [False],
"creation_date": self.report.creation_date.isoformat(),
"publication_date": self.report.publication_date.isoformat(),
"experiments": [self.experiment_analyzer1.fullname()],
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment