mirror of
https://gitlab.com/dslackw/slpkg.git
synced 2025-01-10 20:01:54 +01:00
055145f2bb
Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
12 lines
344 B
Python
12 lines
344 B
Python
from slpkg.file_size import FileSize
|
|
|
|
|
|
def test_FileSize():
|
|
"""Testing the remote and local servers
|
|
"""
|
|
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
|