Removed unused

Signed-off-by: Dimitris Zlatanidis <d.zlatanidis@gmail.com>
This commit is contained in:
Dimitris Zlatanidis 2022-10-19 20:01:32 +03:00
parent 7061252688
commit 09e02e3daa
3 changed files with 0 additions and 7 deletions

View file

@ -14,7 +14,6 @@ configs:
sbo_url: http://slackbuilds.org/slackbuilds/15.0 sbo_url: http://slackbuilds.org/slackbuilds/15.0
sbo_txt: SLACKBUILDS.TXT sbo_txt: SLACKBUILDS.TXT
sbo_tar_suffix: .tar.gz sbo_tar_suffix: .tar.gz
sbo_pkg_suffix: .tgz
sbo_repo_tag: _SBo sbo_repo_tag: _SBo
installpkg: upgradepkg --install-new installpkg: upgradepkg --install-new
reinstall: upgradepkg --reinstall reinstall: upgradepkg --reinstall

View file

@ -37,7 +37,6 @@ class Configs:
sbo_url: str = f'http://slackbuilds.org/slackbuilds/{repo_version}' sbo_url: str = f'http://slackbuilds.org/slackbuilds/{repo_version}'
sbo_txt: str = 'SLACKBUILDS.TXT' sbo_txt: str = 'SLACKBUILDS.TXT'
sbo_tar_suffix: str = '.tar.gz' sbo_tar_suffix: str = '.tar.gz'
sbo_pkg_suffix: str = '.tgz'
sbo_repo_tag: str = '_SBo' sbo_repo_tag: str = '_SBo'
# Slackware commands # Slackware commands
@ -84,7 +83,6 @@ class Configs:
sbo_url: str = config['sbo_url'] sbo_url: str = config['sbo_url']
sbo_txt: str = config['sbo_txt'] sbo_txt: str = config['sbo_txt']
sbo_tar_suffix: str = config['tar_suffix'] sbo_tar_suffix: str = config['tar_suffix']
sbo_pkg_suffix: str = config['pkg_suffix']
sbo_repo_tag: str = config['repo_tag'] sbo_repo_tag: str = config['repo_tag']
# Slackware commands # Slackware commands

View file

@ -8,7 +8,6 @@ class TestConfigs(unittest.TestCase):
self.repo_version = Configs.repo_version self.repo_version = Configs.repo_version
self.sbo_txt = Configs.sbo_txt self.sbo_txt = Configs.sbo_txt
self.sbo_tar_suffix = Configs.sbo_tar_suffix self.sbo_tar_suffix = Configs.sbo_tar_suffix
self.sbo_pkg_suffix = Configs.sbo_pkg_suffix
self.sbo_repo_tag = Configs.sbo_repo_tag self.sbo_repo_tag = Configs.sbo_repo_tag
self.os_arch = Configs.os_arch self.os_arch = Configs.os_arch
@ -21,9 +20,6 @@ class TestConfigs(unittest.TestCase):
def test_tar_suffix(self): def test_tar_suffix(self):
self.assertEqual('.tar.gz', self.sbo_tar_suffix) self.assertEqual('.tar.gz', self.sbo_tar_suffix)
def test_pkg_suffix(self):
self.assertEqual('.tgz', self.sbo_pkg_suffix)
def test_repo_tag(self): def test_repo_tag(self):
self.assertEqual('_SBo', self.sbo_repo_tag) self.assertEqual('_SBo', self.sbo_repo_tag)