Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/core/tests/Test_CoreMain.py
Original file line number Diff line number Diff line change
Expand Up @@ -1004,8 +1004,8 @@ def test_auto_assessment_resets_maintenance_run_id_and_health_store_id_to_None(s
CoreMain(argument_composer.get_composed_arguments())

# check values of health_store_id and maintenance_run_id
self.assertEquals(runtime.execution_config.health_store_id, None)
self.assertEquals(runtime.execution_config.maintenance_run_id, None)
self.assertEqual(runtime.execution_config.health_store_id, None)
self.assertEqual(runtime.execution_config.maintenance_run_id, None)

# check telemetry events
self.__check_telemetry_events(runtime)
Expand Down
5 changes: 3 additions & 2 deletions src/core/tests/Test_UbuntuProClient.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@
# limitations under the License.
#
# Requires Python 2.7+
import imp
import sys
import types
import unittest
if sys.version_info < (3, 12):
import imp

from core.src.bootstrap.Constants import Constants
from core.tests.library.ArgumentComposer import ArgumentComposer
Expand Down Expand Up @@ -113,7 +114,7 @@ def __init__(self, package, version, provided_by, origin):

class MockUpdatesResult(MockSystemModules):

def __init__(self, updates = []):
def __init__(self, updates=[]):
self.updates = updates

def mock_update_list_with_all_update_types(self):
Expand Down
2 changes: 1 addition & 1 deletion src/extension/tests/Test_ExtEnvHandler.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ def test_get_temp_folder_success(self):
temp_folder_path = ext_env_handler.get_temp_folder()

# validate path
self.assertEquals(temp_folder_path, ext_env_handler.temp_folder)
self.assertEqual(temp_folder_path, ext_env_handler.temp_folder)

shutil.rmtree(test_dir)

Expand Down