)]}'
{"/COMMIT_MSG":[{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"49bda1bf4c9f7da79b1a969f52d319192a8ff927","unresolved":false,"context_lines":[{"line_number":16,"context_line":"it is cleaned."},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"Change-Id: Ibbd82d7a18fdb8d6b8d4bfa7bcafe8a2d91a20e1"},{"line_number":19,"context_line":"Closes-bug: 1412577"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":9,"id":"fa81d914_189f0761","line":19,"updated":"2015-01-28 02:08:16.000000000","message":"Please, consider reverting the commit message to capture what I had captured in PS7. I don\u0027t care about ownership (so you can drop the co-authored-by, as rightly you\u0027re the one who did the work), but at least capture the blueprint and the arista\u0027s counterpart","commit_id":"1fad28293047aad69a66774ce290deb0faa0f1f8"},{"author":{"_account_id":6558,"name":"Sukhdev Kapur","email":"sukhdevkapur@gmail.com","username":"sukhdev-8"},"change_message_id":"52508002f67e0193ac6cb1c669530c83d3f94e59","unresolved":false,"context_lines":[{"line_number":16,"context_line":"it is cleaned."},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"Change-Id: Ibbd82d7a18fdb8d6b8d4bfa7bcafe8a2d91a20e1"},{"line_number":19,"context_line":"Closes-bug: 1412577"}],"source_content_type":"text/x-gerrit-commit-message","patch_set":9,"id":"fa81d914_3b73e54e","line":19,"in_reply_to":"fa81d914_189f0761","updated":"2015-01-28 02:40:47.000000000","message":"Sorry about the screw up during squashing two commit messages. I wanted to keep the newer one, but, ended up with the older one. I have fixed it now","commit_id":"1fad28293047aad69a66774ce290deb0faa0f1f8"}],"neutron/db/migration/models/head.py":[{"author":{"_account_id":105,"name":"Kyle Mestery","email":"mestery@mestery.com","username":"mestery"},"change_message_id":"611597059a754896a921d184a3e23ee234276e70","unresolved":false,"context_lines":[{"line_number":51,"context_line":"from neutron.plugins.hyperv import model  # noqa"},{"line_number":52,"context_line":"from neutron.plugins.linuxbridge.db import l2network_models_v2  # noqa"},{"line_number":53,"context_line":"from neutron.plugins.metaplugin import meta_models_v2  # noqa"},{"line_number":54,"context_line":"from neutron.plugins.ml2.drivers.arista import db_models  # noqa"},{"line_number":55,"context_line":"from neutron.plugins.ml2.drivers.brocade.db import (  # noqa"},{"line_number":56,"context_line":"    models as ml2_brocade_models)"},{"line_number":57,"context_line":"from neutron.plugins.ml2.drivers.cisco.apic import apic_model  # noqa"}],"source_content_type":"text/x-python","patch_set":3,"id":"1a930d6b_7e495db6","line":54,"updated":"2015-01-23 19:31:39.000000000","message":"Why the name change here?","commit_id":"9fdce632a645dd736d2654561c24d477cd57e165"},{"author":{"_account_id":6558,"name":"Sukhdev Kapur","email":"sukhdevkapur@gmail.com","username":"sukhdev-8"},"change_message_id":"f5c0c2d663b78eba8b9108e516a60083edd1d354","unresolved":false,"context_lines":[{"line_number":51,"context_line":"from neutron.plugins.hyperv import model  # noqa"},{"line_number":52,"context_line":"from neutron.plugins.linuxbridge.db import l2network_models_v2  # noqa"},{"line_number":53,"context_line":"from neutron.plugins.metaplugin import meta_models_v2  # noqa"},{"line_number":54,"context_line":"from neutron.plugins.ml2.drivers.arista import db_models  # noqa"},{"line_number":55,"context_line":"from neutron.plugins.ml2.drivers.brocade.db import (  # noqa"},{"line_number":56,"context_line":"    models as ml2_brocade_models)"},{"line_number":57,"context_line":"from neutron.plugins.ml2.drivers.cisco.apic import apic_model  # noqa"}],"source_content_type":"text/x-python","patch_set":3,"id":"1a930d6b_e15692cd","line":54,"in_reply_to":"1a930d6b_7e495db6","updated":"2015-01-23 19:44:26.000000000","message":"DB models remain in tree, everything else related to DB (all action functions) are moved to stackforge. Hence, it is appropriate to rename the module appropriately. So, db.py is moved to stackforge and db_model.py remains (which is tiny part of db.py) in the tree.","commit_id":"9fdce632a645dd736d2654561c24d477cd57e165"}],"neutron/plugins/ml2/drivers/arista/mechanism_arista.py":[{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"9beb709e964468e1d53ff68f49359959cc60f078","unresolved":false,"context_lines":[{"line_number":15,"context_line":""},{"line_number":16,"context_line":"import threading"},{"line_number":17,"context_line":""},{"line_number":18,"context_line":"from networking_arista.common import db_lib"},{"line_number":19,"context_line":"from networking_arista.common import wrappers"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"from oslo.config import cfg"}],"source_content_type":"text/x-python","patch_set":7,"id":"1a930d6b_3da512a2","line":18,"updated":"2015-01-24 01:52:41.000000000","message":"consider adding a requirements.txt file that contains:\n\nnetworking_arista \n\nas dependency.\n\nPlace it in:\n\nneutron/plugins/ml2/drivers/arista/","commit_id":"c1ad4bc79f5b475ffdf0bc4e1549c46896fcfafb"},{"author":{"_account_id":4395,"name":"Aaron Rosen","email":"aaronorosen@gmail.com","username":"arosen"},"change_message_id":"16d1d204445017fd265bffaded3148e491e5d162","unresolved":false,"context_lines":[{"line_number":17,"context_line":""},{"line_number":18,"context_line":"from networking_arista.common import db_lib"},{"line_number":19,"context_line":"from networking_arista.ml2 import arista_ml2"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"from oslo.config import cfg"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"from neutron.common import constants as n_const"}],"source_content_type":"text/x-python","patch_set":11,"id":"fa81d914_fc958e40","line":20,"updated":"2015-01-28 23:58:28.000000000","message":"you have an extra \\n here these should be grouped with the oslo imports.","commit_id":"0a439329c3808e246c8c17b5ee503d48c082869a"},{"author":{"_account_id":6558,"name":"Sukhdev Kapur","email":"sukhdevkapur@gmail.com","username":"sukhdev-8"},"change_message_id":"5d6ee7cdf276600ae8282d4038ec10a73dc5d7cf","unresolved":false,"context_lines":[{"line_number":17,"context_line":""},{"line_number":18,"context_line":"from networking_arista.common import db_lib"},{"line_number":19,"context_line":"from networking_arista.ml2 import arista_ml2"},{"line_number":20,"context_line":""},{"line_number":21,"context_line":"from oslo.config import cfg"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":"from neutron.common import constants as n_const"}],"source_content_type":"text/x-python","patch_set":11,"id":"fa81d914_722705b7","line":20,"in_reply_to":"fa81d914_fc958e40","updated":"2015-01-29 00:42:52.000000000","message":"How come pep did not flag these? I usually rely on pep to do its job :-)","commit_id":"0a439329c3808e246c8c17b5ee503d48c082869a"}],"neutron/tests/unit/ml2/drivers/arista/test_arista_mechanism_driver.py":[{"author":{"_account_id":105,"name":"Kyle Mestery","email":"mestery@mestery.com","username":"mestery"},"change_message_id":"611597059a754896a921d184a3e23ee234276e70","unresolved":false,"context_lines":[{"line_number":17,"context_line":"from oslo.config import cfg"},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"from neutron.extensions import portbindings"},{"line_number":20,"context_line":"from neutron.plugins.ml2.drivers.arista import mechanism_arista"},{"line_number":21,"context_line":"from neutron.tests.unit import testlib_api"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"1a930d6b_1e8bf9c3","line":20,"updated":"2015-01-23 19:31:39.000000000","message":"I think you want to mock this import as here:\n\nhttps://github.com/openstack/neutron/blob/master/neutron/tests/unit/ml2/test_mechanism_odl.py#L23","commit_id":"9fdce632a645dd736d2654561c24d477cd57e165"},{"author":{"_account_id":105,"name":"Kyle Mestery","email":"mestery@mestery.com","username":"mestery"},"change_message_id":"8beaacb27507242b409141b56e186c0b11758f37","unresolved":false,"context_lines":[{"line_number":17,"context_line":"from oslo.config import cfg"},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"from neutron.extensions import portbindings"},{"line_number":20,"context_line":"from neutron.plugins.ml2.drivers.arista import mechanism_arista"},{"line_number":21,"context_line":"from neutron.tests.unit import testlib_api"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"1a930d6b_be3825f0","line":20,"in_reply_to":"1a930d6b_1e8bf9c3","updated":"2015-01-23 19:34:31.000000000","message":"Whoops, my mistake. This would be if you\u0027re importing things from the stackforge project.","commit_id":"9fdce632a645dd736d2654561c24d477cd57e165"},{"author":{"_account_id":6558,"name":"Sukhdev Kapur","email":"sukhdevkapur@gmail.com","username":"sukhdev-8"},"change_message_id":"f5c0c2d663b78eba8b9108e516a60083edd1d354","unresolved":false,"context_lines":[{"line_number":17,"context_line":"from oslo.config import cfg"},{"line_number":18,"context_line":""},{"line_number":19,"context_line":"from neutron.extensions import portbindings"},{"line_number":20,"context_line":"from neutron.plugins.ml2.drivers.arista import mechanism_arista"},{"line_number":21,"context_line":"from neutron.tests.unit import testlib_api"},{"line_number":22,"context_line":""},{"line_number":23,"context_line":""}],"source_content_type":"text/x-python","patch_set":3,"id":"1a930d6b_a19d6abe","line":20,"in_reply_to":"1a930d6b_be3825f0","updated":"2015-01-23 19:44:26.000000000","message":"Ah ha...of course, that makes sense","commit_id":"9fdce632a645dd736d2654561c24d477cd57e165"},{"author":{"_account_id":261,"name":"Salvatore Orlando","email":"salv.orlando@gmail.com","username":"salvatore-orlando"},"change_message_id":"acfad7f7eca8bc9b51373d10ce3d320b8b572633","unresolved":false,"context_lines":[{"line_number":21,"context_line":"with mock.patch.dict(sys.modules,"},{"line_number":22,"context_line":"                     {\u0027networking_arista\u0027: mock.Mock(),"},{"line_number":23,"context_line":"                      \u0027networking_arista.common\u0027: mock.Mock()}):"},{"line_number":24,"context_line":"    from neutron.plugins.ml2.drivers.arista import mechanism_arista"},{"line_number":25,"context_line":"from neutron.tests.unit import testlib_api"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"1a930d6b_2902346f","line":24,"updated":"2015-01-24 13:01:53.000000000","message":"This looks somewhat weird. I understand you cannot put networking-arista in test-requirements, and that\u0027s unfortunate. It\u0027s a shame but I guess we cannot do anything better than this.","commit_id":"c1ad4bc79f5b475ffdf0bc4e1549c46896fcfafb"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"af82bdcfb3f24e02bf0e88bf2d3760f003444073","unresolved":false,"context_lines":[{"line_number":21,"context_line":"with mock.patch.dict(sys.modules,"},{"line_number":22,"context_line":"                     {\u0027networking_arista\u0027: mock.Mock(),"},{"line_number":23,"context_line":"                      \u0027networking_arista.common\u0027: mock.Mock()}):"},{"line_number":24,"context_line":"    from neutron.plugins.ml2.drivers.arista import mechanism_arista"},{"line_number":25,"context_line":"from neutron.tests.unit import testlib_api"},{"line_number":26,"context_line":""},{"line_number":27,"context_line":""}],"source_content_type":"text/x-python","patch_set":7,"id":"1a930d6b_9134d8fc","line":24,"in_reply_to":"1a930d6b_2902346f","updated":"2015-01-27 16:37:31.000000000","message":"this is done in a few places already, lbaas and odl amongst others.","commit_id":"c1ad4bc79f5b475ffdf0bc4e1549c46896fcfafb"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"095b82c1baa905d7c7be7e07af120231c3394433","unresolved":false,"context_lines":[{"line_number":64,"context_line":"              mechanism_arista.db_lib.mock_calls[2:])"},{"line_number":65,"context_line":""},{"line_number":66,"context_line":"        assert mechanism_arista.db_lib.mock_calls[2:] \u003d\u003d expected_calls, msg"},{"line_number":67,"context_line":"        mechanism_arista.db_lib.mock_calls \u003d []"},{"line_number":68,"context_line":""},{"line_number":69,"context_line":"    def test_create_network_postcommit(self):"},{"line_number":70,"context_line":"        tenant_id \u003d \u0027ten-1\u0027"}],"source_content_type":"text/x-python","patch_set":7,"id":"1a930d6b_1daf7695","line":67,"updated":"2015-01-24 01:50:48.000000000","message":"please consider using self.asssertFalse rather than assert","commit_id":"c1ad4bc79f5b475ffdf0bc4e1549c46896fcfafb"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"095b82c1baa905d7c7be7e07af120231c3394433","unresolved":false,"context_lines":[{"line_number":93,"context_line":"        msg \u003d \"expected calls %s; \\n actuall calls %s\" % (expected_calls,"},{"line_number":94,"context_line":"              mechanism_arista.db_lib.mock_calls[2:])"},{"line_number":95,"context_line":""},{"line_number":96,"context_line":"        assert mechanism_arista.db_lib.mock_calls[2:] \u003d\u003d expected_calls, msg"},{"line_number":97,"context_line":"        mechanism_arista.db_lib.mock_calls \u003d []"},{"line_number":98,"context_line":""},{"line_number":99,"context_line":"    def test_delete_network_precommit(self):"}],"source_content_type":"text/x-python","patch_set":7,"id":"1a930d6b_3d97d249","line":96,"updated":"2015-01-24 01:50:48.000000000","message":"ditto","commit_id":"c1ad4bc79f5b475ffdf0bc4e1549c46896fcfafb"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"095b82c1baa905d7c7be7e07af120231c3394433","unresolved":false,"context_lines":[{"line_number":119,"context_line":"        ]"},{"line_number":120,"context_line":"        msg \u003d \"expected calls %s; \\n actuall calls %s\" % (expected_calls,"},{"line_number":121,"context_line":"              mechanism_arista.db_lib.mock_calls[2:])"},{"line_number":122,"context_line":"        assert expected_calls \u003d\u003d mechanism_arista.db_lib.mock_calls[2:], msg"},{"line_number":123,"context_line":""},{"line_number":124,"context_line":"    def test_delete_network_postcommit(self):"},{"line_number":125,"context_line":"        tenant_id \u003d \u0027ten-1\u0027"}],"source_content_type":"text/x-python","patch_set":7,"id":"1a930d6b_5d949e42","line":122,"updated":"2015-01-24 01:50:48.000000000","message":"ditto","commit_id":"c1ad4bc79f5b475ffdf0bc4e1549c46896fcfafb"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"095b82c1baa905d7c7be7e07af120231c3394433","unresolved":false,"context_lines":[{"line_number":137,"context_line":"        ]"},{"line_number":138,"context_line":"        msg \u003d \"expected calls %s; \\n actuall calls %s\" % (expected_calls,"},{"line_number":139,"context_line":"              mechanism_arista.db_lib.mock_calls[2:])"},{"line_number":140,"context_line":"        assert expected_calls \u003d\u003d mechanism_arista.db_lib.mock_calls[2:], msg"},{"line_number":141,"context_line":""},{"line_number":142,"context_line":"    def test_create_port_precommit(self):"},{"line_number":143,"context_line":"        tenant_id \u003d \u0027ten-1\u0027"}],"source_content_type":"text/x-python","patch_set":7,"id":"1a930d6b_7d9dda65","line":140,"updated":"2015-01-24 01:50:48.000000000","message":"ditto","commit_id":"c1ad4bc79f5b475ffdf0bc4e1549c46896fcfafb"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"095b82c1baa905d7c7be7e07af120231c3394433","unresolved":false,"context_lines":[{"line_number":165,"context_line":"        ]"},{"line_number":166,"context_line":"        msg \u003d \"expected calls %s; \\n actuall calls %s\" % (expected_calls,"},{"line_number":167,"context_line":"              mechanism_arista.db_lib.mock_calls[2:])"},{"line_number":168,"context_line":"        assert mechanism_arista.db_lib.mock_calls[2:] \u003d\u003d expected_calls, msg"},{"line_number":169,"context_line":""},{"line_number":170,"context_line":"    def test_create_port_postcommit(self):"},{"line_number":171,"context_line":"        tenant_id \u003d \u0027ten-1\u0027"}],"source_content_type":"text/x-python","patch_set":7,"id":"1a930d6b_9d9a866c","line":168,"updated":"2015-01-24 01:50:48.000000000","message":"ditto","commit_id":"c1ad4bc79f5b475ffdf0bc4e1549c46896fcfafb"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"095b82c1baa905d7c7be7e07af120231c3394433","unresolved":false,"context_lines":[{"line_number":205,"context_line":"        msg \u003d \"expected calls %s; \\n actuall calls %s\" % (expected_calls,"},{"line_number":206,"context_line":"              mechanism_arista.db_lib.mock_calls[2:])"},{"line_number":207,"context_line":""},{"line_number":208,"context_line":"        assert mechanism_arista.db_lib.mock_calls[2:] \u003d\u003d expected_calls, msg"},{"line_number":209,"context_line":"        mechanism_arista.db_lib.mock_calls \u003d []"},{"line_number":210,"context_line":""},{"line_number":211,"context_line":"        # Now test the delete ports"}],"source_content_type":"text/x-python","patch_set":7,"id":"1a930d6b_bd8ae218","line":208,"updated":"2015-01-24 01:50:48.000000000","message":"ditto","commit_id":"c1ad4bc79f5b475ffdf0bc4e1549c46896fcfafb"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"095b82c1baa905d7c7be7e07af120231c3394433","unresolved":false,"context_lines":[{"line_number":242,"context_line":"        ]"},{"line_number":243,"context_line":"        msg \u003d \"expected calls %s; \\n actuall calls %s\" % (expected_calls,"},{"line_number":244,"context_line":"              mechanism_arista.db_lib.mock_calls[2:])"},{"line_number":245,"context_line":"        assert mechanism_arista.db_lib.mock_calls[2:] \u003d\u003d expected_calls, msg"},{"line_number":246,"context_line":""},{"line_number":247,"context_line":"    def test_delete_port_postcommit(self):"},{"line_number":248,"context_line":"        tenant_id \u003d \u0027ten-1\u0027"}],"source_content_type":"text/x-python","patch_set":7,"id":"1a930d6b_dd8fae28","line":245,"updated":"2015-01-24 01:50:48.000000000","message":"ditto","commit_id":"c1ad4bc79f5b475ffdf0bc4e1549c46896fcfafb"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"095b82c1baa905d7c7be7e07af120231c3394433","unresolved":false,"context_lines":[{"line_number":272,"context_line":"        msg \u003d \"expected calls %s; \\n actuall calls %s\" % (expected_calls,"},{"line_number":273,"context_line":"              mechanism_arista.db_lib.mock_calls[2:])"},{"line_number":274,"context_line":""},{"line_number":275,"context_line":"        assert mechanism_arista.db_lib.mock_calls[2:] \u003d\u003d expected_calls, msg"},{"line_number":276,"context_line":"        mechanism_arista.db_lib.mock_calls \u003d []"},{"line_number":277,"context_line":""},{"line_number":278,"context_line":"    def _get_network_context(self, tenant_id, net_id, seg_id, shared):"}],"source_content_type":"text/x-python","patch_set":7,"id":"1a930d6b_fd80eaf8","line":275,"updated":"2015-01-24 01:50:48.000000000","message":"ditto","commit_id":"c1ad4bc79f5b475ffdf0bc4e1549c46896fcfafb"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"49bda1bf4c9f7da79b1a969f52d319192a8ff927","unresolved":false,"context_lines":[{"line_number":64,"context_line":"        msg \u003d \"expected calls %s; \\n actuall calls %s\" % (expected_calls,"},{"line_number":65,"context_line":"              mechanism_arista.db_lib.mock_calls[2:])"},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"        assert mechanism_arista.db_lib.mock_calls[2:] \u003d\u003d expected_calls, msg"},{"line_number":68,"context_line":"        mechanism_arista.db_lib.mock_calls \u003d []"},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"    def test_create_network_postcommit(self):"}],"source_content_type":"text/x-python","patch_set":9,"id":"fa81d914_b887db0e","line":67,"updated":"2015-01-28 02:08:16.000000000","message":"these and the others have not been addressed.","commit_id":"1fad28293047aad69a66774ce290deb0faa0f1f8"},{"author":{"_account_id":6558,"name":"Sukhdev Kapur","email":"sukhdevkapur@gmail.com","username":"sukhdev-8"},"change_message_id":"52508002f67e0193ac6cb1c669530c83d3f94e59","unresolved":false,"context_lines":[{"line_number":64,"context_line":"        msg \u003d \"expected calls %s; \\n actuall calls %s\" % (expected_calls,"},{"line_number":65,"context_line":"              mechanism_arista.db_lib.mock_calls[2:])"},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"        assert mechanism_arista.db_lib.mock_calls[2:] \u003d\u003d expected_calls, msg"},{"line_number":68,"context_line":"        mechanism_arista.db_lib.mock_calls \u003d []"},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"    def test_create_network_postcommit(self):"}],"source_content_type":"text/x-python","patch_set":9,"id":"fa81d914_9bb051df","line":67,"in_reply_to":"fa81d914_b887db0e","updated":"2015-01-28 02:40:47.000000000","message":"As I explained in the IRC, my test setup got screwed up and did not want to make any change to screw up the tests. Now it is fixed in the new patch","commit_id":"1fad28293047aad69a66774ce290deb0faa0f1f8"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"7bb37eeeff15e029f9fe007a59c5107a2877e116","unresolved":false,"context_lines":[{"line_number":37,"context_line":"        super(AristaDriverTestCase, self).setUp()"},{"line_number":38,"context_line":"        self.fake_rpc \u003d mock.MagicMock()"},{"line_number":39,"context_line":"        mechanism_arista.db_lib \u003d self.fake_rpc"},{"line_number":40,"context_line":"        #mechanism_arista.db_lib \u003d mock.MagicMock()"},{"line_number":41,"context_line":"        self.drv \u003d mechanism_arista.AristaDriver(self.fake_rpc)"},{"line_number":42,"context_line":""},{"line_number":43,"context_line":"    def tearDown(self):"}],"source_content_type":"text/x-python","patch_set":10,"id":"fa81d914_41a7c64f","line":40,"updated":"2015-01-28 03:55:12.000000000","message":"leftover?","commit_id":"0f7bc66cbfe157e23fa347ff4c3d06e783ba0f43"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"7bb37eeeff15e029f9fe007a59c5107a2877e116","unresolved":false,"context_lines":[{"line_number":64,"context_line":"        msg \u003d \"expected calls %s; \\n actuall calls %s\" % (expected_calls,"},{"line_number":65,"context_line":"              mechanism_arista.db_lib.mock_calls[2:])"},{"line_number":66,"context_line":""},{"line_number":67,"context_line":"        self.assertTrue("},{"line_number":68,"context_line":"            mechanism_arista.db_lib.mock_calls[2:] \u003d\u003d expected_calls, msg)"},{"line_number":69,"context_line":""},{"line_number":70,"context_line":"    def test_create_network_postcommit(self):"}],"source_content_type":"text/x-python","patch_set":10,"id":"fa81d914_4155061c","line":67,"updated":"2015-01-28 03:55:12.000000000","message":"This is best asserted using assert_has_calls, and it\u0027s consistent with the other test cases (please see other unit tests for example). To this aim, please consider doing:\n\n -        msg \u003d \"expected calls %s; \\n actuall calls %s\" % (expected_calls,\n -              mechanism_arista.db_lib.mock_calls[2:])\n -\n -        self.assertTrue(\n -            mechanism_arista.db_lib.mock_calls[2:] \u003d\u003d expected_calls, msg)\n +        mechanism_arista.db_lib.assert_has_calls(expected_calls)\n\nMy bad for giving you a wrong lead earlier, I meant one thing and said another.","commit_id":"0f7bc66cbfe157e23fa347ff4c3d06e783ba0f43"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"7bb37eeeff15e029f9fe007a59c5107a2877e116","unresolved":false,"context_lines":[{"line_number":94,"context_line":"        msg \u003d \"expected calls %s; \\n actuall calls %s\" % (expected_calls,"},{"line_number":95,"context_line":"              mechanism_arista.db_lib.mock_calls[2:])"},{"line_number":96,"context_line":""},{"line_number":97,"context_line":"        self.assertTrue("},{"line_number":98,"context_line":"            mechanism_arista.db_lib.mock_calls[2:] \u003d\u003d expected_calls, msg)"},{"line_number":99,"context_line":""},{"line_number":100,"context_line":"    def test_delete_network_precommit(self):"}],"source_content_type":"text/x-python","patch_set":10,"id":"fa81d914_2c5f2910","line":97,"updated":"2015-01-28 03:55:12.000000000","message":"same here","commit_id":"0f7bc66cbfe157e23fa347ff4c3d06e783ba0f43"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"7bb37eeeff15e029f9fe007a59c5107a2877e116","unresolved":false,"context_lines":[{"line_number":121,"context_line":"        msg \u003d \"expected calls %s; \\n actuall calls %s\" % (expected_calls,"},{"line_number":122,"context_line":"              mechanism_arista.db_lib.mock_calls[2:])"},{"line_number":123,"context_line":"        self.assertTrue("},{"line_number":124,"context_line":"            expected_calls \u003d\u003d mechanism_arista.db_lib.mock_calls[2:], msg)"},{"line_number":125,"context_line":""},{"line_number":126,"context_line":"    def test_delete_network_postcommit(self):"},{"line_number":127,"context_line":"        tenant_id \u003d \u0027ten-1\u0027"}],"source_content_type":"text/x-python","patch_set":10,"id":"fa81d914_4c9b7dc9","line":124,"updated":"2015-01-28 03:55:12.000000000","message":"and here","commit_id":"0f7bc66cbfe157e23fa347ff4c3d06e783ba0f43"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"7bb37eeeff15e029f9fe007a59c5107a2877e116","unresolved":false,"context_lines":[{"line_number":140,"context_line":"        msg \u003d \"expected calls %s; \\n actuall calls %s\" % (expected_calls,"},{"line_number":141,"context_line":"              mechanism_arista.db_lib.mock_calls[2:])"},{"line_number":142,"context_line":"        self.assertTrue("},{"line_number":143,"context_line":"            expected_calls \u003d\u003d mechanism_arista.db_lib.mock_calls[2:], msg)"},{"line_number":144,"context_line":""},{"line_number":145,"context_line":"    def test_create_port_precommit(self):"},{"line_number":146,"context_line":"        tenant_id \u003d \u0027ten-1\u0027"}],"source_content_type":"text/x-python","patch_set":10,"id":"fa81d914_acaa39d2","line":143,"updated":"2015-01-28 03:55:12.000000000","message":"and here","commit_id":"0f7bc66cbfe157e23fa347ff4c3d06e783ba0f43"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"7bb37eeeff15e029f9fe007a59c5107a2877e116","unresolved":false,"context_lines":[{"line_number":169,"context_line":"        msg \u003d \"expected calls %s; \\n actuall calls %s\" % (expected_calls,"},{"line_number":170,"context_line":"              mechanism_arista.db_lib.mock_calls[2:])"},{"line_number":171,"context_line":"        self.assertTrue("},{"line_number":172,"context_line":"            mechanism_arista.db_lib.mock_calls[2:] \u003d\u003d expected_calls, msg)"},{"line_number":173,"context_line":""},{"line_number":174,"context_line":"    def test_create_port_postcommit(self):"},{"line_number":175,"context_line":"        tenant_id \u003d \u0027ten-1\u0027"}],"source_content_type":"text/x-python","patch_set":10,"id":"fa81d914_ccae8de7","line":172,"updated":"2015-01-28 03:55:12.000000000","message":"and here","commit_id":"0f7bc66cbfe157e23fa347ff4c3d06e783ba0f43"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"7bb37eeeff15e029f9fe007a59c5107a2877e116","unresolved":false,"context_lines":[{"line_number":210,"context_line":"              mechanism_arista.db_lib.mock_calls[2:])"},{"line_number":211,"context_line":""},{"line_number":212,"context_line":"        self.assertTrue("},{"line_number":213,"context_line":"            mechanism_arista.db_lib.mock_calls[2:] \u003d\u003d expected_calls, msg)"},{"line_number":214,"context_line":""},{"line_number":215,"context_line":"        # Now test the delete ports"},{"line_number":216,"context_line":"    def test_delete_port_precommit(self):"}],"source_content_type":"text/x-python","patch_set":10,"id":"fa81d914_ecab51d4","line":213,"updated":"2015-01-28 03:55:12.000000000","message":"and here","commit_id":"0f7bc66cbfe157e23fa347ff4c3d06e783ba0f43"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"7bb37eeeff15e029f9fe007a59c5107a2877e116","unresolved":false,"context_lines":[{"line_number":247,"context_line":"        msg \u003d \"expected calls %s; \\n actuall calls %s\" % (expected_calls,"},{"line_number":248,"context_line":"              mechanism_arista.db_lib.mock_calls[2:])"},{"line_number":249,"context_line":"        self.assertTrue("},{"line_number":250,"context_line":"            mechanism_arista.db_lib.mock_calls[2:] \u003d\u003d expected_calls, msg)"},{"line_number":251,"context_line":""},{"line_number":252,"context_line":"    def test_delete_port_postcommit(self):"},{"line_number":253,"context_line":"        tenant_id \u003d \u0027ten-1\u0027"}],"source_content_type":"text/x-python","patch_set":10,"id":"fa81d914_0cb9852e","line":250,"updated":"2015-01-28 03:55:12.000000000","message":"and here","commit_id":"0f7bc66cbfe157e23fa347ff4c3d06e783ba0f43"},{"author":{"_account_id":748,"name":"Armando Migliaccio","email":"armamig@gmail.com","username":"armando-migliaccio"},"change_message_id":"7bb37eeeff15e029f9fe007a59c5107a2877e116","unresolved":false,"context_lines":[{"line_number":277,"context_line":"        msg \u003d \"expected calls %s; \\n actuall calls %s\" % (expected_calls,"},{"line_number":278,"context_line":"              mechanism_arista.db_lib.mock_calls[2:])"},{"line_number":279,"context_line":""},{"line_number":280,"context_line":"        self.assertTrue("},{"line_number":281,"context_line":"            mechanism_arista.db_lib.mock_calls[2:] \u003d\u003d expected_calls, msg)"},{"line_number":282,"context_line":""},{"line_number":283,"context_line":"    def _get_network_context(self, tenant_id, net_id, seg_id, shared):"}],"source_content_type":"text/x-python","patch_set":10,"id":"fa81d914_4c829d53","line":280,"updated":"2015-01-28 03:55:12.000000000","message":"and here","commit_id":"0f7bc66cbfe157e23fa347ff4c3d06e783ba0f43"}]}
