Commit c120f986 authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[test][plotters] Add local tests

parent ea940304
......@@ -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",
}
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