tests/test_graphics_charts.py
changeset 2984 c63f149d55aa
parent 2967 ea62529bd1df
child 3326 ce725978d11c
--- a/tests/test_graphics_charts.py	Fri Sep 12 16:19:39 2008 +0000
+++ b/tests/test_graphics_charts.py	Mon Sep 15 11:03:17 2008 +0000
@@ -3,12 +3,12 @@
 """
 Tests for chart class.
 """
+from reportlab.lib.testutils import setOutDir,makeSuiteForClasses, outputfile, printLocation
+setOutDir(__name__)
 
 import os, sys, copy
 from os.path import join, basename, splitext
-
 import unittest
-from tests.utils import makeSuiteForClasses, outputfile, printLocation
 from reportlab.lib import colors
 from reportlab.lib.units import cm
 from reportlab.lib.pagesizes import A4
@@ -21,9 +21,7 @@
 from reportlab.platypus.paragraph import Paragraph
 from reportlab.platypus.xpreformatted import XPreformatted
 from reportlab.platypus.frames import Frame
-from reportlab.platypus.doctemplate \
-     import PageTemplate, BaseDocTemplate
-
+from reportlab.platypus.doctemplate import PageTemplate, BaseDocTemplate
 from reportlab.graphics.charts.barcharts import VerticalBarChart
 from reportlab.graphics.charts.linecharts import HorizontalLineChart
 from reportlab.graphics.charts.lineplots import LinePlot