Commit 4be49938 authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[test][core] Add a decorator for skipping test when disconnected

This allows to make the test files less crowded.
parent 1356f45e
......@@ -46,6 +46,7 @@ import shutil
from click.testing import CliRunner
from beat.core.test.utils import cleanup
from beat.core.test.utils import skipif
from beat.cmdline.scripts import main_cli
from .. import common
......@@ -66,6 +67,10 @@ else:
# Make skip on disconnected a decorator, this will make tests easier to read and write
skip_disconnected = skipif(disconnected, "missing test platform (%s)" % platform)
class AssetLocalTest:
asset_type = None
object_map = {}
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