def test_interface_eq(client):
    name = 'eth0'
    i1 = Interface(client=client, site_id=1, name=name, device=1)
    i2 = Interface(client=client, site_id=1, name=name, device=1)
    assert i1 == i2
Prepare middleware for use through fake WSGI app.
dataset/ETHPy150Open dropbox/pynsot/tests/test_models.py/test_interface_eq--crossover with--dataset/ETHPy150Open BU-NU-CLOUD-SP16/Trusted-Platform-Module-nova/nova/tests/unit/api/openstack/compute/test_limits.py/LimitMiddlewareTest.setUp