Skip to content

Commit

Permalink
test: fix assertDictContainsSubset
Browse files Browse the repository at this point in the history
  • Loading branch information
FlxPeters authored Sep 25, 2024
1 parent 4f569fa commit af93cc0
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions netbox_prometheus_sd/tests/test_serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,8 @@

class PrometheusVirtualMachineSerializerTests(TestCase):

def assertDictContainsSubset(self, dict1, dict2){
def assertDictContainsSubset(self, dict1, dict2):
assert dict2 | dict1 == dict2
}

def test_vm_minimal_to_target(self):

Expand Down

0 comments on commit af93cc0

Please sign in to comment.