def test_semantic_version():
    mayor, minor, rev = map(int, __version__.split('.'))

    assert mayor >= 0
    assert minor >= 0
    assert rev >= 0
Check that version follows the Semantic Versioning 2.0.0 specification.
dataset/ETHPy150Open HPENetworking/topology_docker/test/test_topology_docker.py/test_semantic_version