File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -53,5 +53,5 @@ def __init__(
53
53
self .n_days = n_days
54
54
55
55
def __repr__ (self ) -> str :
56
- return f"Constants(susceptible_default: { self .region .s } , known_infected: { self .known_infected } )"
56
+ return f"Constants(susceptible_default: { self .region .susceptible } , known_infected: { self .known_infected } )"
57
57
Original file line number Diff line number Diff line change 5
5
from app import (projection_admits , alt )
6
6
from penn_chime .models import sir , sim_sir , sim_sir_df
7
7
from penn_chime .presentation import display_header , new_admissions_chart
8
+ from penn_chime .settings import DEFAULTS
8
9
9
10
10
11
# set up
@@ -66,6 +67,13 @@ def test_header_fail():
66
67
st .cleanup ()
67
68
68
69
70
+ def test_defaultS_repr ():
71
+ """
72
+ Test DEFAULTS.repr
73
+ """
74
+ repr (DEFAULTS )
75
+
76
+
69
77
# Test the math
70
78
71
79
def test_sir ():
You can’t perform that action at this time.
0 commit comments