def test_instance_equality(self):
        class EqualityModel(Model):

            pk = columns.Integer(primary_key=True)

        m0 = EqualityModel(pk=0)
        m1 = EqualityModel(pk=1)

        self.assertEqual(m0, m0)
        self.assertNotEqual(m0, m1)
Returns the information or contents on a particular diff.
dataset/ETHPy150Open datastax/python-driver/tests/integration/cqlengine/model/test_model.py/TestModel.test_instance_equality--crossover with--dataset/ETHPy150Open reviewboard/reviewboard/reviewboard/webapi/resources/diff.py/DiffResource.get