mirror of https://github.com/jab/bidict.git
28 lines
600 B
Python
28 lines
600 B
Python
# Copyright 2009-2022 Joshua Bronson. All rights reserved.
|
|
#
|
|
# This Source Code Form is subject to the terms of the Mozilla Public
|
|
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
|
|
|
"""Test bidict metadata."""
|
|
|
|
from __future__ import annotations
|
|
|
|
import bidict
|
|
|
|
|
|
METADATA_ATTRS = """
|
|
__author__
|
|
__copyright__
|
|
__description__
|
|
__license__
|
|
__url__
|
|
__version__
|
|
""".split()
|
|
|
|
|
|
def test_metadata() -> None:
|
|
"""Ensure bidict has expected metadata attributes."""
|
|
for i in METADATA_ATTRS:
|
|
assert getattr(bidict, i)
|