test-kivy-app/kivy_venv/lib/python3.11/site-packages/kivy/tests/test_filechooser.py
2024-09-15 15:12:16 +03:00

12 lines
331 B
Python

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)