Commit ddf06ed
authored
feat: add datafile accessor (#275)
* feat: add datafile accessor
* refactor: fetch datafile from project_config in OptimizelyConfigService constructor
* test: fix existing test to accommodate new config format due to datafile addition
* test: replace deprecated assert functions to eliminate warnings
* test: add tests for datafile accessor methods
* style: fix indent and spacing of test comments
* style: reorder datafile accessor method to more appropriate location
* fix: revert back to Regexp b/c python2.7 and pypy were failing
* docs: modify comment and incorporate changes
* docs: update method comment1 parent 1bf5a89 commit ddf06ed
File tree
4 files changed
+157
-113
lines changed- optimizely
- tests
4 files changed
+157
-113
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
24 | 33 | | |
25 | 34 | | |
26 | 35 | | |
| |||
68 | 77 | | |
69 | 78 | | |
70 | 79 | | |
| 80 | + | |
71 | 81 | | |
72 | 82 | | |
73 | 83 | | |
| |||
88 | 98 | | |
89 | 99 | | |
90 | 100 | | |
91 | | - | |
| 101 | + | |
92 | 102 | | |
93 | 103 | | |
94 | 104 | | |
| |||
0 commit comments