1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35
|
#!/usr/bin/env python
# -*- coding: utf-8 -*-
from fontv.settings import lib_name, major_version, minor_version, patch_version, HELP, VERSION, USAGE
import pytest
def test_settings_lib_name():
assert lib_name == "font-v"
def test_settings_major_version():
assert len(major_version) > 0
def test_settings_minor_version():
assert len(minor_version) > 0
def test_settings_patch_version():
assert len(patch_version) > 0
def test_settings_help_string():
assert len(HELP) > 0
def test_settings_version_string():
assert len(VERSION) > 0
def test_settings_usage_string():
assert len(USAGE) > 0
|