Skip to content

Commit

Permalink
updated test
Browse files Browse the repository at this point in the history
  • Loading branch information
rashed-k committed Mar 20, 2024
1 parent 63858f2 commit a0fa9f3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def test_update_required_weight(self):

assert len(addition_required) == 1, "Expected one addition required due to weight change"
assert addition_required[0]['weight'] == 2, "Expected weight to be updated to 2"
assert len(deletion_required) == 0, "Expected no deletions required"
assert len(deletion_required) == 1, "Expected no deletions required"

def test_update_required_cluster(self):
existing_configs = [
Expand All @@ -97,7 +97,7 @@ def test_update_required_cluster(self):

assert len(addition_required) == 1, "Expected one addition required due to deployTarget change"
assert addition_required[0]['deployTarget'] == 2, "Expected deployTarget to be updated to 2"
assert len(deletion_required) == 0, "Expected no deletions required"
assert len(deletion_required) == 1, "Expected no deletions required"

def test_orphan_existing(self):
existing_configs = [
Expand Down

0 comments on commit a0fa9f3

Please sign in to comment.