test against localhost

run tests through formatter

remove sel test from bus bool params
This commit is contained in:
2025-01-17 15:01:40 +00:00
parent af68c423a6
commit bc2cd3e7a5
8 changed files with 109 additions and 108 deletions

View File

@@ -7,15 +7,15 @@ class TestRemoteFactories:
__test__ = True
@pytest.mark.skipif(
data.name != "basic",
reason="Skip test if kind is not basic",
data.name != 'basic',
reason='Skip test if kind is not basic',
)
def test_it_tests_remote_attrs_for_basic(self):
assert hasattr(vban, "strip")
assert hasattr(vban, "bus")
assert hasattr(vban, "command")
assert hasattr(vban, "button")
assert hasattr(vban, "vban")
assert hasattr(vban, 'strip')
assert hasattr(vban, 'bus')
assert hasattr(vban, 'command')
assert hasattr(vban, 'button')
assert hasattr(vban, 'vban')
assert len(vban.strip) == 3
assert len(vban.bus) == 2
@@ -23,15 +23,15 @@ class TestRemoteFactories:
assert len(vban.vban.instream) == 6 and len(vban.vban.outstream) == 5
@pytest.mark.skipif(
data.name != "banana",
reason="Skip test if kind is not basic",
data.name != 'banana',
reason='Skip test if kind is not basic',
)
def test_it_tests_remote_attrs_for_banana(self):
assert hasattr(vban, "strip")
assert hasattr(vban, "bus")
assert hasattr(vban, "command")
assert hasattr(vban, "button")
assert hasattr(vban, "vban")
assert hasattr(vban, 'strip')
assert hasattr(vban, 'bus')
assert hasattr(vban, 'command')
assert hasattr(vban, 'button')
assert hasattr(vban, 'vban')
assert len(vban.strip) == 5
assert len(vban.bus) == 5
@@ -39,15 +39,15 @@ class TestRemoteFactories:
assert len(vban.vban.instream) == 10 and len(vban.vban.outstream) == 9
@pytest.mark.skipif(
data.name != "potato",
reason="Skip test if kind is not basic",
data.name != 'potato',
reason='Skip test if kind is not basic',
)
def test_it_tests_remote_attrs_for_potato(self):
assert hasattr(vban, "strip")
assert hasattr(vban, "bus")
assert hasattr(vban, "command")
assert hasattr(vban, "button")
assert hasattr(vban, "vban")
assert hasattr(vban, 'strip')
assert hasattr(vban, 'bus')
assert hasattr(vban, 'command')
assert hasattr(vban, 'button')
assert hasattr(vban, 'vban')
assert len(vban.strip) == 8
assert len(vban.bus) == 8