'tests the model equality functionality'

def test_model_equality(self):

    class EqualityModel0(Model, ):
        pk = columns.Integer(primary_key=True)
    class EqualityModel1(Model, ):
        kk = columns.Integer(primary_key=True)
    m0 = EqualityModel0(pk=0)
    m1 = EqualityModel1(kk=1)
    self.assertEqual(m0, m0)
    self.assertNotEqual(m0, m1)
