Skip to content
Permalink
Browse files

[tests] Fix failing composerhtml tests, by forcing test html to use a…

… set font size in pixels.
  • Loading branch information
nyalldawson committed Dec 28, 2013
1 parent 6aed6fe commit bf407db3beb2da5ce4e9564943a25ab1dc0e389e
@@ -62,6 +62,9 @@ def testTable(self):
myTestResult, myMessage = checker.testComposition()

qDebug(myMessage)
self.mComposition.removeMultiFrame( composerHtml )
composerHtml = None

assert myTestResult, myMessage

def testTableMultiFrame(self):
@@ -91,6 +94,10 @@ def testTableMultiFrame(self):
myPage = 2
checker3 = QgsCompositionChecker('composerhtml_multiframe3', self.mComposition)
myTestResult, myMessage = checker3.testComposition( myPage )

self.mComposition.removeMultiFrame( composerHtml )
composerHtml = None

assert myTestResult, myMessage

def testComposerHtmlAccessor(self):
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -1,6 +1,12 @@
<html>
<head>
<link href="bootstrap.css" media="all" rel="stylesheet" type="text/css" />
<style>
.table td {
font-size: 20px;
line-height: 30px;
}
</style>
</head>
<body>
<table class="table table-striped table-bordered condensed">

0 comments on commit bf407db

Please sign in to comment.
You can’t perform that action at this time.