2
0
mirror of https://github.com/codl/forget synced 2024-12-11 07:56:45 +01:00
forget-cancellare-vecchi-toot/test/test_version.py
2017-09-24 13:11:06 +02:00

14 lines
287 B
Python

import re
import version
def test_version_looks_like_a_version():
assert re.match(
'v?[0-9]+.[0-9]+.[0-9]+(-[A-Za-z0-9\-.]+)?',
version.version)
def test_libversion_url():
import libforget.version
assert libforget.version.url_for_version(version.version)