From 6bdeae663eb11894a2b9a09af22d4895280ecc09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Manuel=20Barroso=20Galindo?= Date: Fri, 17 Dec 2021 16:01:08 +0100 Subject: [PATCH] Fixed test --- .github/tests/test_calculate_db.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/tests/test_calculate_db.py b/.github/tests/test_calculate_db.py index e0be72fe8..47d77ee06 100755 --- a/.github/tests/test_calculate_db.py +++ b/.github/tests/test_calculate_db.py @@ -5,6 +5,7 @@ spec = importlib.util.spec_from_file_location("calculate_db", "../calculate_db.p calculate_db = importlib.util.module_from_spec(spec) spec.loader.exec_module(calculate_db) +tags = calculate_db.Tags() db = calculate_db.create_db('../..', { 'sha': 3, 'latest_zip_url': 'w/', @@ -14,7 +15,7 @@ db = calculate_db.create_db('../..', { 'db_id': 'z/', 'linux_github_repository': '', 'zips_config': '' -}) +}, tags) calculate_db.save_data_to_compressed_json(db, 'db.json', 'db1.json.zip')