mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2024-11-17 07:48:18 +01:00
11 lines
292 B
Python
11 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
|