Add system's requirements.txt, enforce flake8 linter

Fix style issues in functional tests.
This commit is contained in:
Andrey Smirnov committed 2017-04-28 00:05:11 +03:00
1 parent 7a7b981d4f
commit c798db8056
44 files changed
+334 -260

No files matched your search

+4 -4
View File
@@ -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)