Commit 46bf56ac authored by Robin Obůrka's avatar Robin Obůrka

tests: Remove redundant implementation of mocked methods

parent 9a93ade1
......@@ -15,17 +15,8 @@ def test_context_data_passed(in_out_args_mock, recv_multipart_mock, send_multipa
recv_multipart_mock.side_effect = side_effect()
class TestBox(sn.SNPipelineBox):
def setup(self):
return {
"foo": "bar",
}
def teardown(self):
pass
def process(self, msg_type, payload):
return msg_type, payload
tb = TestBox("test")
tb.setup = mock_setup = Mock(return_value={"foo": "bar"})
tb.teardown = mock_teardown = Mock()
......
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