# Copyright Visual Collaboration Technologies Inc. All Rights Reserved.
# See LICENSE for details.
"""Version tests for vcti-plugin-catalog."""

import re

import vcti.plugincatalog


class TestVersion:
    def test_version_exists(self):
        assert hasattr(vcti.plugincatalog, "__version__")

    def test_version_is_valid_semver(self):
        assert re.match(r"^\d+\.\d+\.\d+", vcti.plugincatalog.__version__)
