2018-06-15 19:38:35 -03:00
|
|
|
"Test , coverage %."
|
|
|
|
|
2018-06-20 18:27:43 -03:00
|
|
|
from idlelib import zzdummy
|
2018-06-15 19:38:35 -03:00
|
|
|
import unittest
|
|
|
|
from test.support import requires
|
|
|
|
from tkinter import Tk
|
|
|
|
|
|
|
|
|
|
|
|
class Test(unittest.TestCase):
|
|
|
|
|
|
|
|
@classmethod
|
|
|
|
def setUpClass(cls):
|
|
|
|
requires('gui')
|
|
|
|
cls.root = Tk()
|
|
|
|
cls.root.withdraw()
|
|
|
|
|
|
|
|
@classmethod
|
|
|
|
def tearDownClass(cls):
|
|
|
|
cls.root.update_idletasks()
|
|
|
|
## for id in cls.root.tk.call('after', 'info'):
|
|
|
|
## cls.root.after_cancel(id) # Need for EditorWindow.
|
|
|
|
cls.root.destroy()
|
|
|
|
del cls.root
|
|
|
|
|
|
|
|
def test_init(self):
|
2018-06-20 18:27:43 -03:00
|
|
|
self.assertTrue(True)
|
2018-06-15 19:38:35 -03:00
|
|
|
|
|
|
|
|
|
|
|
if __name__ == '__main__':
|
|
|
|
unittest.main(verbosity=2)
|