def test_get_env_runner_raises(): s = Bytes() with pytest.raises(NotImplementedError): s.get_env_runner("")
def test_get_runner_raises_if_flow_not_present(): s = Bytes() with pytest.raises(ValueError): s.get_runner("test")
def test_create_bytes_storage(): storage = Bytes() assert storage
def test_get_flow_returns_flow(): s = Bytes() f = Flow("test") s.add_flow(f) runner = s.get_flow("test") assert runner == f