kopia lustrzana https://github.com/ctjacobs/pyqso
Docstrings.
rodzic
39ca881e2e
commit
911c3f2309
|
@ -24,6 +24,8 @@ from pyqso.compare import *
|
|||
|
||||
class TestCompare(unittest.TestCase):
|
||||
|
||||
""" The unit tests for the Compare class. """
|
||||
|
||||
def setUp(self):
|
||||
data_types = [int] + [str]*3
|
||||
self.model = Gtk.ListStore(*data_types)
|
||||
|
|
|
@ -23,6 +23,8 @@ from pyqso.log import *
|
|||
|
||||
class TestLog(unittest.TestCase):
|
||||
|
||||
""" The unit tests for the Log class. """
|
||||
|
||||
def setUp(self):
|
||||
self.connection = sqlite.connect(":memory:")
|
||||
self.connection.row_factory = sqlite.Row
|
||||
|
|
Ładowanie…
Reference in New Issue