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>
19 lines
No EOL
432 B
Python
19 lines
No EOL
432 B
Python
from slpkg.binary.search import search_pkg
|
|
from slpkg.sbo.search import sbo_search_pkg
|
|
|
|
|
|
def test_search():
|
|
"""Testing found the name from binaries repos
|
|
"""
|
|
name = "vlc"
|
|
repo = "alien"
|
|
test = search_pkg(name, repo)
|
|
assert name == test
|
|
|
|
|
|
def test_sbo_search():
|
|
"""Testing found the name from binaries repos
|
|
"""
|
|
name = "slpkg"
|
|
test = sbo_search_pkg(name).split("/")[-2]
|
|
assert name == test |