Commit 6de4dc91 authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[test][plotterparameters] Add local tests

parent c120f986
Pipeline #30003 passed with stage
in 7 minutes and 14 seconds
......@@ -42,10 +42,12 @@ import click
from click.testing import CliRunner
from beat.core.plotterparameter import Storage
from beat.core.test.utils import slow, cleanup, skipif
from beat.cmdline.scripts import main_cli
from . import core
from . import platform, disconnected, prefix, tmp_prefix, user, token
......@@ -98,3 +100,15 @@ def test_pull_one(obj=None):
@skipif(disconnected, "missing test platform (%s)" % platform)
def test_pull_all():"pull", prefix=tmp_prefix), 0)
class TestPlotterparameterLocal(core.AssetLocalTest):
storage_cls = Storage
asset_type = "plotterparameter"
object_map = {
"valid": "plot/config/1",
"invalid": "user/invalid/1",
"create": "user/new_plotterparameter/1",
"new": "user/new_plotterparameter/2",
"fork": "user/forked_plotterparameter/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