Convert test_combined
This commit is contained in:
parent
f68cfc13e0
commit
6482025399
@ -42,3 +42,10 @@ def test_multiple():
|
||||
|
||||
flags = debug.qflags_key(Qt, Qt.AlignLeft | Qt.AlignTop)
|
||||
assert flags == 'AlignLeft|AlignTop'
|
||||
|
||||
|
||||
def test_combined():
|
||||
"""Test with a combined value."""
|
||||
|
||||
flags = debug.qflags_key(Qt, Qt.AlignCenter)
|
||||
assert flags == 'AlignHCenter|AlignVCenter'
|
||||
|
@ -37,11 +37,6 @@ class QFlagsKeyTests(unittest.TestCase):
|
||||
|
||||
# https://github.com/The-Compiler/qutebrowser/issues/42
|
||||
|
||||
def test_combined(self):
|
||||
"""Test with a combined value."""
|
||||
flags = debug.qflags_key(Qt, Qt.AlignCenter)
|
||||
self.assertEqual(flags, 'AlignHCenter|AlignVCenter')
|
||||
|
||||
@unittest.skip('FIXME')
|
||||
def test_add_base(self):
|
||||
"""Test with add_base=True."""
|
||||
|
Loading…
Reference in New Issue
Block a user