test-kivy-app/kivy_venv/lib/python3.11/site-packages/kivy/tests/test_filechooser.py

12 lines
331 B
Python
Raw Normal View History

2024-09-15 12:12:16 +00: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)