stip.{comp,gate} tests added to higher

This commit is contained in:
2023-06-25 14:23:39 +01:00
parent 3f5dc7c376
commit df7996a846
5 changed files with 62 additions and 66 deletions

View File

@@ -1,6 +1,6 @@
import pytest
from tests import data, tests
from tests import data, vban
class TestRemoteFactories:
@@ -11,33 +11,33 @@ class TestRemoteFactories:
reason="Skip test if kind is not basic",
)
def test_it_tests_remote_attrs_for_basic(self):
assert hasattr(tests, "strip")
assert hasattr(tests, "bus")
assert hasattr(tests, "command")
assert hasattr(vban, "strip")
assert hasattr(vban, "bus")
assert hasattr(vban, "command")
assert len(tests.strip) == 3
assert len(tests.bus) == 2
assert len(vban.strip) == 3
assert len(vban.bus) == 2
@pytest.mark.skipif(
data.name != "banana",
reason="Skip test if kind is not basic",
)
def test_it_tests_remote_attrs_for_banana(self):
assert hasattr(tests, "strip")
assert hasattr(tests, "bus")
assert hasattr(tests, "command")
assert hasattr(vban, "strip")
assert hasattr(vban, "bus")
assert hasattr(vban, "command")
assert len(tests.strip) == 5
assert len(tests.bus) == 5
assert len(vban.strip) == 5
assert len(vban.bus) == 5
@pytest.mark.skipif(
data.name != "potato",
reason="Skip test if kind is not basic",
)
def test_it_tests_remote_attrs_for_potato(self):
assert hasattr(tests, "strip")
assert hasattr(tests, "bus")
assert hasattr(tests, "command")
assert hasattr(vban, "strip")
assert hasattr(vban, "bus")
assert hasattr(vban, "command")
assert len(tests.strip) == 8
assert len(tests.bus) == 8
assert len(vban.strip) == 8
assert len(vban.bus) == 8