Commit f627fdca authored by Robin Obůrka's avatar Robin Obůrka

tests: Fix badly designed test

parent 87d1c3bb
...@@ -40,7 +40,8 @@ def test_missing_out_socket_pipeline(in_only_args_mock): ...@@ -40,7 +40,8 @@ def test_missing_out_socket_pipeline(in_only_args_mock):
def test_missing_out_socket_generator(bad_socket_args_mock): def test_missing_out_socket_generator(bad_socket_args_mock):
class TestBox(sn.SNGeneratorBox): class TestBox(sn.SNGeneratorBox):
pass def process(self):
yield None
with pytest.raises(sn.SetupError) as e: with pytest.raises(sn.SetupError) as e:
TestBox("test").run() TestBox("test").run()
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