1 |
# Copyright (C) 2003 by Intevation GmbH |
# Copyright (C) 2003, 2005 by Intevation GmbH |
2 |
# Authors: |
# Authors: |
3 |
# Bernhard Herzog <[email protected]> |
# Bernhard Herzog <[email protected]> |
4 |
# |
# |
91 |
def label_font(self): |
def label_font(self): |
92 |
return "label font" |
return "label font" |
93 |
|
|
94 |
def draw_raster_data(self, x, y, data, format='BMP'): |
def draw_raster_data(self, layer, x, y, data, format='BMP'): |
95 |
self.raster_data = data |
self.raster_data = data |
96 |
self.raster_format = format |
self.raster_format = format |
97 |
|
|
129 |
def setUp(self): |
def setUp(self): |
130 |
"""Set self.to_destroy to an empty list |
"""Set self.to_destroy to an empty list |
131 |
|
|
132 |
Test should put all objects whose Destroy should be called atunittest.main |
Tests should put all objects whose Destroy should be called at |
133 |
the end into this list so that they're destroyed in tearDown |
the end into this list so that they're destroyed in tearDown. |
134 |
""" |
""" |
135 |
self.to_destroy = [] |
self.to_destroy = [] |
136 |
|
|