Added new spiget downloader

Added new spiget downloader for plugins with progress bar and error handling for Issue #46
This commit is contained in:
Jan-Luca Bogdan | BEL NET GmbH
2022-06-17 12:51:32 +02:00
parent d427886c49
commit 84fcfc8922
4 changed files with 48 additions and 29 deletions

View File

@@ -49,12 +49,12 @@ class TestCases(unittest.TestCase):
result=plugin_downloader.get_download_path(config_values_ftp)
self.assertEqual(result, config_values_ftp.remote_path_to_seperate_download_path)
def test_convert_file_size_down(self):
# 100000 / 1024 = 97.66
result= utilities.convert_file_size_down(100000)
self.assertEqual(result, 97.66)
if __name__ == "__main__":
unittest.main()