mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
Early support for symbol themes.
This commit is contained in:
1 parent
301b7475f7
commit
17d070dca7
350 files changed
+2268
-217
No files matched your search
@@ -32,11 +32,11 @@ def test_get_size():
|
||||
with open("tests/resources/gns3_icon_128x64.png", "rb") as f:
|
||||
res = get_size(f.read())
|
||||
assert res == (128, 64, "png")
|
||||
with open("gns3server/symbols/dslam.svg", "rb") as f:
|
||||
with open("gns3server/symbols/classic/dslam.svg", "rb") as f:
|
||||
res = get_size(f.read())
|
||||
assert res == (50, 53, "svg")
|
||||
# Symbol using size with cm
|
||||
with open("gns3server/symbols/cloud.svg", "rb") as f:
|
||||
with open("gns3server/symbols/classic/cloud.svg", "rb") as f:
|
||||
res = get_size(f.read())
|
||||
assert res == (159, 71, "svg")
|
||||
# Size with px
|
||||
|
||||
Reference in new issue
Block a user