Commit e07fa16
committed
Populate feature_flags_by_key when setting feature_flags
Since `self.feature_flags_by_key` is derived from `self.feature_flags`, and we often set the latter in unit tests, but forget to set the former, our tests can be wonky.
This ensures that when we set `self.feature_flags`, we always set `self. feature_flags_by_key`1 parent c8c4d26 commit e07fa16
2 files changed
+14
-11
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
138 | | - | |
| 138 | + | |
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| |||
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
207 | 218 | | |
208 | 219 | | |
209 | 220 | | |
| |||
640 | 651 | | |
641 | 652 | | |
642 | 653 | | |
643 | | - | |
644 | | - | |
645 | | - | |
646 | 654 | | |
647 | 655 | | |
648 | 656 | | |
| |||
664 | 672 | | |
665 | 673 | | |
666 | 674 | | |
667 | | - | |
668 | 675 | | |
669 | 676 | | |
670 | 677 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
768 | 768 | | |
769 | 769 | | |
770 | 770 | | |
771 | | - | |
772 | 771 | | |
773 | 772 | | |
774 | 773 | | |
| |||
900 | 899 | | |
901 | 900 | | |
902 | 901 | | |
903 | | - | |
904 | 902 | | |
905 | 903 | | |
906 | 904 | | |
| |||
1629 | 1627 | | |
1630 | 1628 | | |
1631 | 1629 | | |
1632 | | - | |
1633 | | - | |
| 1630 | + | |
1634 | 1631 | | |
1635 | 1632 | | |
1636 | 1633 | | |
| |||
1697 | 1694 | | |
1698 | 1695 | | |
1699 | 1696 | | |
1700 | | - | |
1701 | | - | |
| 1697 | + | |
1702 | 1698 | | |
1703 | 1699 | | |
1704 | 1700 | | |
| |||
0 commit comments