Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
beat
beat.cmdline
Commits
c120f986
Commit
c120f986
authored
May 07, 2019
by
Samuel GAIST
Browse files
[test][plotters] Add local tests
parent
ea940304
Changes
1
Hide whitespace changes
Inline
Side-by-side
beat/cmdline/test/test_plotters.py
View file @
c120f986
...
...
@@ -49,6 +49,7 @@ from beat.core.plotter import Storage
from
beat.cmdline.scripts
import
main_cli
from
.
import
core
from
.
import
platform
,
disconnected
,
prefix
,
tmp_prefix
,
user
,
token
...
...
@@ -213,3 +214,15 @@ def test_plot_plotterparameter(obj=None):
0
,
)
nose
.
tools
.
assert_true
(
os
.
path
.
exists
(
os
.
path
.
join
(
tmp_prefix
,
"test.png"
)))
class
TestPlotterLocal
(
core
.
AssetLocalTest
):
storage_cls
=
Storage
asset_type
=
"plotter"
object_map
=
{
"valid"
:
"user/scatter/1"
,
"invalid"
:
"user/invalid/1"
,
"create"
:
"user/new_plotter/1"
,
"new"
:
"user/new_plotter/2"
,
"fork"
:
"user/forked_plotter/1"
,
}
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