After a refactor in Conveyor.dev the event output display became a bit hard to
read and needs some rework. The biggest issue right now is getting the output
from a server command returns a list of byte objects generated based on the
stderr of the command.
So to test that our decoding works here is a simple test that currently fails:
def test_event_parses_byte_string_list(self): test_data = [b'', b'Fetching origin\n', b"Your branch is up to date"] expected_output = "Fetching origin\n Your branch is up to date" output = parse_events(test_data) self.assertEqual(expected_output, output)