#!/usr/bin/python3
"""Tests for sbo_create.__metadata__."""

import re

from sbo_create.__metadata__ import (__author__, __email__, __license__,
                                     __prog__, __website__)


def test_prog_name() -> None:
    assert __prog__ == 'sbo-create'


def test_author_not_empty() -> None:
    assert __author__


def test_email_has_at_sign() -> None:
    assert '@' in __email__


def test_license_contains_gpl() -> None:
    assert 'GPL' in __license__


def test_website_starts_with_https() -> None:
    assert __website__.startswith('https')
