janushendersonassetallocation / loman

Loman is a Python library designed to allow quantitative researchers to control complex live updating calculation processes
BSD 3-Clause "New" or "Revised" License
95 stars 13 forks source link

Add unit tests for visualization #16

Closed edparcell closed 7 years ago

edparcell commented 7 years ago

A simple unit test for visualization was added in 252f4e7d266575dd6b9b7c41153f03ed8402b730. The creation of the pydotplus Dot object was split into two parts: 1. creating a DAG specialized for visualization 2. Creating the Dot file itself. This makes it easier to write unit tests by testing the DAG output by step 1.