def METHOD_NAME(self):
    objs = HashType.objects.filter(hashTypeId__eq=100)
    all_objs = HashType.objects.all()
    self.assertEqual(
        [x.id for x in all_objs if x.hashTypeId == 100],
        [x.id for x in objs])