File: test_version.py

package info (click to toggle)
sodapy 2.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 548 kB
  • sloc: python: 1,086; makefile: 2
file content (13 lines) | stat: -rw-r--r-- 270 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
"""
Validate the length and format of the version string.
"""

import sodapy


def test_version():
    version = sodapy.__version__
    components = version.split(".")
    assert len(components) == 3
    for component in components:
        assert component.isnumeric()