Skip to content

Commit

Permalink
[tests] run TestTkinter on en-wiki only
Browse files Browse the repository at this point in the history
Otherwise it could fail because of different content.

Change-Id: I2b4a0e191a04e4421b4c48043800ec6db9addb0b
  • Loading branch information
xqt committed Oct 13, 2024
1 parent c7fb9ac commit cbdae73
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions tests/gui_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
from contextlib import suppress

import pywikibot
from tests.aspects import DefaultSiteTestCase, TestCase, require_modules
from tests.aspects import TestCase, require_modules


class TestTkdialog(TestCase):
Expand All @@ -36,11 +36,12 @@ def test_tk_dialog(self):
self.assertTrue(skip)


class TestTkinter(DefaultSiteTestCase):
class TestTkinter(TestCase):

"""Test Tkinter."""

net = True
family = 'wikipedia'
code = 'en'

def test_tkinter(self):
"""Test Tkinter window."""
Expand Down

0 comments on commit cbdae73

Please sign in to comment.