Commit 7f24fa2
committed
Fix MockMicrogrid add_chps method to can create chp without meter
Previously if no_meter was True, meter was created but
didn't send values. Now no meter is created.
No tests are failing after this change
Signed-off-by: Elzbieta Kotulska <[email protected]>1 parent 18c0572 commit 7f24fa2
1 file changed
+11
-14
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
362 | 362 | | |
363 | 363 | | |
364 | 364 | | |
365 | | - | |
366 | 365 | | |
367 | | - | |
368 | | - | |
369 | | - | |
370 | 366 | | |
371 | | - | |
372 | | - | |
373 | | - | |
374 | | - | |
375 | | - | |
376 | | - | |
377 | | - | |
378 | | - | |
379 | 367 | | |
380 | 368 | | |
381 | 369 | | |
382 | 370 | | |
383 | 371 | | |
384 | 372 | | |
385 | | - | |
386 | | - | |
387 | 373 | | |
388 | 374 | | |
389 | 375 | | |
| 376 | + | |
| 377 | + | |
| 378 | + | |
| 379 | + | |
| 380 | + | |
| 381 | + | |
| 382 | + | |
| 383 | + | |
| 384 | + | |
390 | 385 | | |
391 | 386 | | |
392 | 387 | | |
| 388 | + | |
| 389 | + | |
393 | 390 | | |
394 | 391 | | |
395 | 392 | | |
| |||
0 commit comments