12 lines
331 B
Python
Raw Normal View History

2024-09-15 15:12:16 +03:00
from kivy.tests.common import GraphicUnitTest
class FileChooserTestCase(GraphicUnitTest):
def test_filechooserlistview(self):
from kivy.uix.filechooser import FileChooserListView
from os.path import expanduser
r = self.render
wid = FileChooserListView(path=expanduser('~'))
r(wid, 2)