Commit f884e08e authored by Jaden's avatar Jaden Committed by Samuel GAIST

[reports] add analyzers_access_map to tests

parent 808b1a79
......@@ -892,6 +892,7 @@ class EditableReportRetrievalTestCase(ReportTestCase):
"creation_date": self.report.creation_date.isoformat(),
"publication_date": None,
"experiment_access_map": [],
"analyzers_access_map": [],
"experiments": [],
"content": {},
"analyzer": None,
......@@ -944,6 +945,7 @@ class LockedReportRetrievalTestCase(ReportTestCase):
"creation_date": self.report.creation_date.isoformat(),
"publication_date": None,
"experiment_access_map": [True],
"analyzers_access_map": [True],
"experiments": [self.experiment_analyzer1.fullname()],
"content": {},
"analyzer": None,
......@@ -992,6 +994,7 @@ class PublishedReportRetrievalTestCase(ReportTestCase):
"creation_date": self.report.creation_date.isoformat(),
"publication_date": self.report.publication_date.isoformat(),
"experiment_access_map": [False],
"analyzers_access_map": [True],
"experiments": [self.experiment_analyzer1.fullname()],
"content": {},
"analyzer": None,
......@@ -1014,6 +1017,7 @@ class PublishedReportRetrievalTestCase(ReportTestCase):
"creation_date": self.report.creation_date.isoformat(),
"publication_date": self.report.publication_date.isoformat(),
"experiment_access_map": [True],
"analyzers_access_map": [True],
"experiments": [self.experiment_analyzer1.fullname()],
"content": {},
"analyzer": None,
......@@ -1036,6 +1040,7 @@ class PublishedReportRetrievalTestCase(ReportTestCase):
"author": self.johndoe.username,
"status": "published",
"experiment_access_map": [False],
"analyzers_access_map": [True],
"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