Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
beat.web
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
54
Issues
54
List
Boards
Labels
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
beat
beat.web
Commits
f884e08e
Commit
f884e08e
authored
Aug 09, 2019
by
Jaden
Committed by
Samuel GAIST
Sep 19, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[reports] add analyzers_access_map to tests
parent
808b1a79
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
beat/web/reports/tests.py
beat/web/reports/tests.py
+5
-0
No files found.
beat/web/reports/tests.py
View file @
f884e08e
...
...
@@ -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
()],
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment