blob: 85c4a1a0cd31470ee9beb9d82a1d2a1e604b92a2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
# Copyright 2016-2021 Florian Bruhin (The Compiler) <mail@qutebrowser.org>
#
# SPDX-License-Identifier: GPL-3.0-or-later
from qutebrowser.utils import usertypes
def test_unset_object_identity():
assert usertypes.Unset() is not usertypes.Unset()
assert usertypes.UNSET is usertypes.UNSET
def test_unset_object_repr():
assert repr(usertypes.UNSET) == '<UNSET>'
|