mirror of
https://github.com/aptly-dev/aptly.git
synced 2026-10-20 10:57:09 +00:00
New upstream version 1.1.1
This commit is contained in:
1 parent
c926f2bf05
commit
ee9fb8dfec
356 files changed
+656439
-643115
No files matched your search
@@ -31,10 +31,10 @@ class GraphAPITest(APITest):
|
||||
|
||||
horizontal = self.get("/api/graph.svg?layout=horizontal").content
|
||||
vertical = self.get("/api/graph.svg?layout=vertical").content
|
||||
horizontalWidth = int(ET.fromstring(horizontal).get('width').replace("pt",""))
|
||||
horizontalHeight = int(ET.fromstring(horizontal).get('height').replace("pt",""))
|
||||
verticalWidth = int(ET.fromstring(vertical).get('width').replace("pt",""))
|
||||
verticalHeight = int(ET.fromstring(vertical).get('height').replace("pt",""))
|
||||
horizontalWidth = int(ET.fromstring(horizontal).get('width').replace("pt", ""))
|
||||
horizontalHeight = int(ET.fromstring(horizontal).get('height').replace("pt", ""))
|
||||
verticalWidth = int(ET.fromstring(vertical).get('width').replace("pt", ""))
|
||||
verticalHeight = int(ET.fromstring(vertical).get('height').replace("pt", ""))
|
||||
|
||||
self.check_gt(horizontalWidth, verticalWidth)
|
||||
self.check_gt(verticalHeight, horizontalHeight)
|
||||
|
||||
Reference in new issue
Block a user