diff --git a/moto/dynamodb2/models.py b/moto/dynamodb2/models.py index 8e5a61755..65dd2c3f7 100644 --- a/moto/dynamodb2/models.py +++ b/moto/dynamodb2/models.py @@ -146,6 +146,9 @@ class DynamoType(object): def __eq__(self, other): return self.type == other.type and self.value == other.value + def __ne__(self, other): + return self.type != other.type or self.value != other.value + def __lt__(self, other): return self.cast_value < other.cast_value