File: test_settings.py

package info (click to toggle)
font-v 2.1.0-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 9,084 kB
  • sloc: python: 1,870; makefile: 22; sh: 4
file content (35 lines) | stat: -rw-r--r-- 631 bytes parent folder | download | duplicates (3)
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