Merge branch 'master' into print_sources

This commit is contained in:
Andrey Smirnov
2017-01-19 00:50:13 +03:00
committed by GitHub
4 changed files with 27 additions and 6 deletions
+4
View File
@@ -15,3 +15,7 @@ class GraphAPITest(APITest):
resp = self.get("/api/graph.svg")
self.check_equal(resp.headers["Content-Type"], "image/svg+xml")
self.check_equal(resp.content[:4], '<?xm')
resp = self.get("/api/graph.dot")
self.check_equal(resp.headers["Content-Type"], "text/plain; charset=utf-8")
self.check_equal(resp.content[:13], 'digraph aptly')