slpkg/tests/test_blacklist.py

14 lines
265 B
Python
Raw Normal View History

2022-06-21 18:40:06 +03:00
import unittest
from slpkg.blacklist import Blacklist
class TestBlacklist(unittest.TestCase):
def test_blacklist(self):
black = Blacklist()
2023-03-01 00:23:28 +02:00
self.assertListEqual(['%README%'], black.packages())
2022-06-21 18:40:06 +03:00
if __name__ == '__main__':
unittest.main()