mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-10 20:01:54 +01:00
10 lines
292 B
Python
10 lines
292 B
Python
from slpkg.file_size import FileSize
|
|
|
|
|
|
def test_FileSize():
|
|
url = "https://mirrors.slackware.com/slackware/slackware64-14.2/ChangeLog.txt"
|
|
lc = "tests/test_units.py"
|
|
fs1 = FileSize(url)
|
|
fs2 = FileSize(lc)
|
|
assert fs1.server() is not None
|
|
assert fs2.local() is not None
|