mirror of
https://github.com/codl/forget
synced 2024-12-11 07:56:45 +01:00
14 lines
287 B
Python
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)
|