Unit Testing Unit testing is performed with py.test. Tests can be found in pypsa/test/. Power flow is tested against Pypower using its built-in cases.