adding datasource.as_dict
This commit is contained in:
1 parent
75f6991b8c
commit
a03036b494
2 files changed
+18
-1
No files matched your search
@@ -202,3 +202,8 @@ def test_text():
|
||||
assert repr(tables.RollTable([fixture_one_choice]))
|
||||
assert repr(tables.RollTable([fixture_metadata + fixture_source]))
|
||||
assert repr(tables.RollTable([fixture_source]))
|
||||
|
||||
|
||||
def test_as_dict():
|
||||
ds = tables.RollTable([fixture_metadata + fixture_source]).datasources[0].as_dict()
|
||||
assert ds['Option 1']['Header 1'] == 'Option 1'
|
||||
Reference in new issue
Block a user