diff --git a/configs/slpkg.yml b/configs/slpkg.yml index d16b9fe0..5642392c 100644 --- a/configs/slpkg.yml +++ b/configs/slpkg.yml @@ -17,7 +17,6 @@ configs: database: database.slpkg # SBo repository configs - sbo_repo_version: 15.0 sbo_url: http://slackbuilds.org/slackbuilds/15.0 sbo_txt: SLACKBUILDS.TXT sbo_tar_suffix: .tar.gz diff --git a/slpkg/configs.py b/slpkg/configs.py index 89e45c1a..524e24b6 100644 --- a/slpkg/configs.py +++ b/slpkg/configs.py @@ -33,8 +33,7 @@ class Configs: database: str = f'database.{prog_name}' # SBo repository configs - sbo_repo_version: str = '15.0' - sbo_url: str = f'http://slackbuilds.org/slackbuilds/{sbo_repo_version}' + sbo_url: str = 'http://slackbuilds.org/slackbuilds/15.0' sbo_txt: str = 'SLACKBUILDS.TXT' sbo_tar_suffix: str = '.tar.gz' sbo_repo_tag: str = '_SBo' @@ -82,7 +81,6 @@ class Configs: database: str = config['database'] # SBo repository details - sbo_repo_version: str = config['sbo_repo_version'] sbo_url: str = config['sbo_url'] sbo_txt: str = config['sbo_txt'] sbo_tar_suffix: str = config['tar_suffix'] diff --git a/tests/test_configs.py b/tests/test_configs.py index 8b8a9fe4..394aa167 100644 --- a/tests/test_configs.py +++ b/tests/test_configs.py @@ -5,15 +5,11 @@ from slpkg.configs import Configs class TestConfigs(unittest.TestCase): def setUp(self): - self.sbo_repo_version = Configs.sbo_repo_version self.sbo_txt = Configs.sbo_txt self.sbo_tar_suffix = Configs.sbo_tar_suffix self.sbo_repo_tag = Configs.sbo_repo_tag self.os_arch = Configs.os_arch - def test_repo_version(self): - self.assertEqual(15.0, self.sbo_repo_version) - def test_sbo_txt(self): self.assertEqual('SLACKBUILDS.TXT', self.sbo_txt)