)]}'
{"test/unit/common/test_storage_policies.py":[{"author":{"_account_id":330,"name":"John Dickinson","email":"me@not.mn","username":"notmyname"},"change_message_id":"2f9b5640192e80a2bef7dffc6ed4a851f36f0f1a","unresolved":false,"context_lines":[{"line_number":46,"context_line":"        zero_policy_by_name \u003d policies.get_by_name(zero_policy.name)"},{"line_number":47,"context_line":"        self.assert_(zero_policy_by_name.idx \u003d\u003d 0)"},{"line_number":48,"context_line":"        pols_from_class \u003d policies.get_policies()"},{"line_number":49,"context_line":"        self.assert_(pols_from_class \u003d\u003d policies)"},{"line_number":50,"context_line":""},{"line_number":51,"context_line":"        # test module functions"},{"line_number":52,"context_line":"        default_policy \u003d storage_policy.get_default()"}],"source_content_type":"text/x-python","patch_set":1,"id":"AAAAUH%2F%2FVg8%3D","line":49,"updated":"2014-01-14 22:40:51.000000000","message":"assertEquals?","commit_id":"7d648ab055d95a4578b6646d2076f62bdffe7b8b"}],"test/unit/obj/test_auditor.py":[{"author":{"_account_id":7479,"name":"paul luse","email":"paul.e.luse@intel.com","username":"peluse"},"change_message_id":"bc9cef2eb6be60838ab51968eb7dfe2968a260c7","unresolved":false,"context_lines":[{"line_number":33,"context_line":"_mocked_policies \u003d [StoragePolicy(0, \u0027zero\u0027, False),"},{"line_number":34,"context_line":"                    StoragePolicy(1, \u0027one\u0027, True)]"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"class TestAuditor(unittest.TestCase):"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"    def setUp(self):"}],"source_content_type":"text/x-python","patch_set":4,"id":"AAAAUH%2F%2FCzk%3D","line":36,"updated":"2014-01-18 00:47:49.000000000","message":"question:  could you also have put the @patch_policies here just once or would that not work?","commit_id":"f0323e5d3b31bdd75db259a231a13c6f341fe64f"},{"author":{"_account_id":7479,"name":"paul luse","email":"paul.e.luse@intel.com","username":"peluse"},"change_message_id":"4df713b7bcfd1f4852279ca4bbc2151cbc99ad68","unresolved":false,"context_lines":[{"line_number":33,"context_line":"_mocked_policies \u003d [StoragePolicy(0, \u0027zero\u0027, False),"},{"line_number":34,"context_line":"                    StoragePolicy(1, \u0027one\u0027, True)]"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"class TestAuditor(unittest.TestCase):"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"    def setUp(self):"}],"source_content_type":"text/x-python","patch_set":4,"id":"AAAAUH%2F%2FBi4%3D","line":36,"in_reply_to":"AAAAUH%2F%2FCd4%3D","updated":"2014-01-18 17:05:29.000000000","message":"Thanks Pete.  None of these patches include specific tests for multiple policies, I wanted to make sure everyone was cool with the functional code before adding tests that required something more than policy 0","commit_id":"f0323e5d3b31bdd75db259a231a13c6f341fe64f"},{"author":{"_account_id":6198,"name":"Peter Portante","email":"peter.a.portante@gmail.com","username":"peter-a-portante"},"change_message_id":"1c6513f67e589ac2d819c9162a76c9bc503326ba","unresolved":false,"context_lines":[{"line_number":33,"context_line":"_mocked_policies \u003d [StoragePolicy(0, \u0027zero\u0027, False),"},{"line_number":34,"context_line":"                    StoragePolicy(1, \u0027one\u0027, True)]"},{"line_number":35,"context_line":""},{"line_number":36,"context_line":""},{"line_number":37,"context_line":"class TestAuditor(unittest.TestCase):"},{"line_number":38,"context_line":""},{"line_number":39,"context_line":"    def setUp(self):"}],"source_content_type":"text/x-python","patch_set":4,"id":"AAAAUH%2F%2FCd4%3D","line":36,"in_reply_to":"AAAAUH%2F%2FCzk%3D","updated":"2014-01-18 03:45:01.000000000","message":"Yes, that might work, but I just placed the decorator on the test methods that previously changed the policy in patch set 2.\n\nNote that using this decorator does not prevent theses tests from failing, meaning they appear to succeed with or without it, so we should probably revisit that.","commit_id":"f0323e5d3b31bdd75db259a231a13c6f341fe64f"}]}
