File tree 2 files changed +27
-0
lines changed
2 files changed +27
-0
lines changed Original file line number Diff line number Diff line change @@ -343,6 +343,16 @@ def table(self):
343
343
return "almanac_registrations"
344
344
345
345
346
+ class AlmanacResolutions (NamedFields ):
347
+ id = 0
348
+ address = 1
349
+ record_id = 2
350
+
351
+ @classmethod
352
+ @property
353
+ def table (self ):
354
+ return "almanac_registrations"
355
+
346
356
347
357
class AlmanacRecords (NamedFields ):
348
358
id = 0
Original file line number Diff line number Diff line change @@ -185,5 +185,22 @@ def test_registrations_gql(self):
185
185
self .assertRegex (registration ["blockId" ], block_id_regex )
186
186
# TODO: assert record equality
187
187
188
+ # GQL query
189
+ # - historical registrations: where expired
190
+ # - resolutions success
191
+ # - resolutions expired (empty result)
192
+ # assertions
193
+
194
+ def test_resolutions_sql (self ):
195
+ pass
196
+ # SQL query
197
+ # assertions
198
+
199
+ def test_resolutions_gql (self ):
200
+ pass
201
+ # GQL query
202
+ # assertions
203
+
204
+
188
205
if __name__ == "__main__" :
189
206
unittest .main ()
You can’t perform that action at this time.
0 commit comments