Return the svg field in shape API

Ref #498
This commit is contained in:
Julien Duponchelle committed 2016-06-21 12:19:12 +02:00
1 parent 51dbe59e99
commit 4f78efa0c8
3 files changed
+33 -10

No files matched your search

+4 -2
View File
@@ -54,13 +54,15 @@ def test_json(project):
"project_id": project.id,
"x": i.x,
"y": i.y,
"z": i.z
"z": i.z,
"svg": i.svg
}
assert i.__json__(topology_dump=True) == {
"shape_id": i.id,
"x": i.x,
"y": i.y,
"z": i.z
"z": i.z,
"svg": i.svg
}