{"action":"created","issue":{"url":"https://api.github.com/repos/SEED-platform/seed/issues/790","repository_url":"https://api.github.com/repos/SEED-platform/seed","labels_url":"https://api.github.com/repos/SEED-platform/seed/issues/790/labels{/name}","comments_url":"https://api.github.com/repos/SEED-platform/seed/issues/790/comments","events_url":"https://api.github.com/repos/SEED-platform/seed/issues/790/events","html_url":"https://github.com/SEED-platform/seed/issues/790","id":136193124,"number":790,"title":"Increase python unit test coverage","user":{"login":"nicholasserra","id":512288,"avatar_url":"https://avatars.githubusercontent.com/u/512288?v=3","gravatar_id":"","url":"https://api.github.com/users/nicholasserra","html_url":"https://github.com/nicholasserra","followers_url":"https://api.github.com/users/nicholasserra/followers","following_url":"https://api.github.com/users/nicholasserra/following{/other_user}","gists_url":"https://api.github.com/users/nicholasserra/gists{/gist_id}","starred_url":"https://api.github.com/users/nicholasserra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicholasserra/subscriptions","organizations_url":"https://api.github.com/users/nicholasserra/orgs","repos_url":"https://api.github.com/users/nicholasserra/repos","events_url":"https://api.github.com/users/nicholasserra/events{/privacy}","received_events_url":"https://api.github.com/users/nicholasserra/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/SEED-platform/seed/labels/Backend%20work","name":"Backend work","color":"fad8c7"}],"state":"open","locked":false,"assignee":{"login":"nicholasserra","id":512288,"avatar_url":"https://avatars.githubusercontent.com/u/512288?v=3","gravatar_id":"","url":"https://api.github.com/users/nicholasserra","html_url":"https://github.com/nicholasserra","followers_url":"https://api.github.com/users/nicholasserra/followers","following_url":"https://api.github.com/users/nicholasserra/following{/other_user}","gists_url":"https://api.github.com/users/nicholasserra/gists{/gist_id}","starred_url":"https://api.github.com/users/nicholasserra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicholasserra/subscriptions","organizations_url":"https://api.github.com/users/nicholasserra/orgs","repos_url":"https://api.github.com/users/nicholasserra/repos","events_url":"https://api.github.com/users/nicholasserra/events{/privacy}","received_events_url":"https://api.github.com/users/nicholasserra/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2016-02-24T21:35:29Z","updated_at":"2016-03-10T18:53:58Z","closed_at":null,"body":"Right now we're sitting at 72%\r\n\r\nCoverage output:\r\n\r\n```\r\nName                                                                 Stmts   Miss  Cover   Missing\r\n--------------------------------------------------------------------------------------------------\r\nseed/authentication                                                     17     12    29%   19-32\r\nseed/cleansing/models                                                  132     17    87%   261-262, 266, 361-368, 476-488\r\nseed/cleansing/views                                                    31     15    52%   28-31, 47-48, 59-79\r\nseed/common/mapper                                                     140     20    86%   44, 77, 89, 141, 162, 180-185, 195-202, 210, 280\r\nseed/common/views                                                       31     15    52%   15-17, 23, 39-42, 63-64, 67-73\r\nseed/data_importer/__init__                                              5      2    60%   11-12\r\nseed/data_importer/models                                              864    551    36%   15-16, 132-134, 138, 142, 146-148, 152, 156, 160-162, 166, 170, 174-176, 180-187, 191, 195, 199-203, 207-218, 222-227, 231-237, 241-246, 250-255, 259-264, 268-273, 277-280, 287, 294, 301, 305, 309, 313, 317, 321, 325, 329, 333, 337, 341, 345, 349, 353, 357, 361, 365, 369, 373-415, 419-439, 443-447, 451, 456-459, 463, 467, 471, 475-484, 488, 492, 496, 500, 504, 508, 512, 516, 520, 524, 528, 532, 538-542, 548-551, 555-647, 652, 656, 660, 664, 668-669, 674-684, 688-734, 738-775, 823-824, 829, 833-837, 856-858, 863-876, 879-929, 953-970, 980-986, 990, 994, 998, 1002, 1005-1007, 1011, 1015, 1019-1022, 1026, 1030, 1034-1037, 1046, 1050, 1055-1086, 1091-1111, 1115-1116, 1120, 1124, 1128, 1132-1161, 1165, 1169-1176, 1180, 1184, 1188, 1192, 1196, 1200, 1204, 1208, 1212, 1216, 1220, 1224, 1228-1229, 1233-1234, 1238, 1242, 1246, 1271-1275, 1279-1283, 1287, 1291, 1295, 1299-1303, 1307, 1311, 1315-1323, 1327-1341, 1349, 1353, 1357-1360, 1364, 1368, 1387-1397, 1401-1405, 1449-1450, 1454-1457, 1461-1464, 1468-1471\r\nseed/data_importer/views                                                71     42    41%   59-83, 97-128, 190-201, 240-247\r\nseed/decorators                                                         56      2    96%   99-100\r\nseed/filters                                                            20      2    90%   50, 52\r\nseed/landing/models                                                     47      8    83%   12-14, 85, 91-92, 96, 102\r\nseed/landing/views                                                      48     14    71%   27-30, 79-84, 92, 102, 113, 120, 131\r\nseed/lib/exporter                                                      119     28    76%   39, 64, 70-71, 96, 149, 161-181, 192-193, 218-220, 228, 239, 250, 259, 269\r\nseed/lib/mcm/cleaners                                                   61      7    89%   63, 67-73, 88\r\nseed/lib/mcm/mapper                                                     83      3    96%   80-83, 130\r\nseed/lib/mcm/reader                                                    144     20    86%   82, 94-95, 212-214, 292, 310-313, 323, 344-355\r\nseed/lib/mcm/utils                                                      15      4    73%   28-29, 34-35\r\nseed/lib/superperms/orgs/decorators                                     80      9    89%   39, 77, 90-100, 116\r\nseed/managers/json                                                      64      4    94%   44-45, 158-159\r\nseed/mappings/mapper                                                    80      2    98%   28, 148\r\nseed/models                                                            609     22    96%   211, 260, 334, 402-406, 414-422, 641, 728-731, 734, 760, 822, 852, 1435, 1503\r\nseed/search                                                            273     40    85%   29, 57, 60-63, 108, 133-137, 200-201, 203-204, 213-214, 222-225, 260-262, 264-266, 268-270, 300-301, 340, 344, 445, 451, 477, 531, 556-560\r\nseed/serializers/celery                                                 18      9    50%   15-21, 25-28, 33, 38\r\nseed/tasks                                                             665    115    83%   97-115, 151-152, 236-239, 244-250, 283-333, 402, 550-557, 593, 644, 762-784, 806-811, 814, 840-841, 845-860, 888, 904-934, 951, 959-962, 1005, 1072-1073, 1218-1220, 1253, 1256, 1258, 1374, 1377, 1492-1498\r\nseed/utils/api                                                          64      3    95%   120, 130-131\r\nseed/utils/buildings                                                    80     36    55%   29-41, 55-89, 156-175\r\nseed/utils/cache                                                        56     12    79%   29, 59-65, 70-74, 79\r\nseed/utils/generic                                                      19      7    63%   32-37, 41\r\nseed/utils/mapping                                                      20      1    95%   47\r\nseed/utils/projects                                                     57     34    40%   25-28, 38, 69-82, 102-116, 135-143, 161-169, 193-205\r\nseed/utils/time                                                         18      7    61%   15-16, 21-23, 31, 33\r\nseed/views/accounts                                                    410    101    75%   133, 142-143, 152, 161-162, 198, 242, 249-250, 263, 303-317, 345, 351-352, 372, 468-474, 540, 552-553, 578-582, 618, 731-735, 760-762, 834-836, 861-902, 925-929, 977-1028, 1071-1072, 1102-1129, 1137\r\nseed/views/labels                                                       50     13    74%   80-87, 113-135\r\nseed/views/main                                                        850    469    45%   86, 129-144, 179-192, 221-297, 326-334, 364-427, 438-440, 526, 710-753, 778, 796-805, 831-832, 1042-1058, 1095-1125, 1145-1163, 1187-1204, 1237-1329, 1408, 1421, 1497, 1506-1513, 1563, 1566, 1573-1574, 1628-1645, 1684-1715, 1755-1790, 1865, 1898-1912, 1937-1942, 1964-1969, 1996, 2020-2025, 2051, 2119-2120, 2273-2300, 2350-2492, 2618-2692, 2827-2981\r\nseed/views/meters                                                       57      3    95%   115, 154-155\r\nseed/views/projects                                                    171     47    73%   91-93, 109-114, 161-165, 245, 256, 268-272, 401-410, 413-414, 449-459, 519-528, 567-578\r\ntos/views                                                               57     30    47%   22-24, 33-35, 49-50, 73, 77-79, 92-137\r\n--------------------------------------------------------------------------------------------------\r\nTOTAL                                                                 6215   1768    72%\r\n```"},"comment":{"url":"https://api.github.com/repos/SEED-platform/seed/issues/comments/194999811","html_url":"https://github.com/SEED-platform/seed/issues/790#issuecomment-194999811","issue_url":"https://api.github.com/repos/SEED-platform/seed/issues/790","id":194999811,"user":{"login":"nicholasserra","id":512288,"avatar_url":"https://avatars.githubusercontent.com/u/512288?v=3","gravatar_id":"","url":"https://api.github.com/users/nicholasserra","html_url":"https://github.com/nicholasserra","followers_url":"https://api.github.com/users/nicholasserra/followers","following_url":"https://api.github.com/users/nicholasserra/following{/other_user}","gists_url":"https://api.github.com/users/nicholasserra/gists{/gist_id}","starred_url":"https://api.github.com/users/nicholasserra/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nicholasserra/subscriptions","organizations_url":"https://api.github.com/users/nicholasserra/orgs","repos_url":"https://api.github.com/users/nicholasserra/repos","events_url":"https://api.github.com/users/nicholasserra/events{/privacy}","received_events_url":"https://api.github.com/users/nicholasserra/received_events","type":"User","site_admin":false},"created_at":"2016-03-10T18:53:57Z","updated_at":"2016-03-10T18:53:57Z","body":"Now at 81%.\r\n\r\n```\r\nName                                        Stmts   Miss  Cover   Missing\r\n-------------------------------------------------------------------------\r\nseed/authentication                            17     12    29%   19-32\r\nseed/cleansing/models                         141     16    89%   265-266, 366-373, 491-503\r\nseed/common/mapper                            140     20    86%   44, 77, 89, 141, 162, 180-185, 195-202, 210, 280\r\nseed/common/views                              31     12    61%   23, 39-42, 67-68, 71-77\r\nseed/data_importer/__init__                     5      2    60%   11-12\r\nseed/data_importer/models                     735    420    43%   131-133, 137, 141, 145-147, 151, 155, 159-161, 165, 169, 173-175, 179-186, 190, 194, 198-202, 206-217, 221-226, 230-236, 240-245, 249-254, 258-263, 267-272, 276-280, 287, 294, 301, 305, 309, 313, 317, 321, 325, 329, 333, 337, 341, 345, 349, 353, 357, 361, 365, 369, 373-393, 397-401, 405, 410-413, 417, 421, 425, 429-438, 442, 446, 450, 454, 458, 462, 466, 470, 474, 478, 482, 486, 492-496, 502-505, 509, 513, 517, 521, 525-526, 531-541, 545-591, 595-631, 679-680, 712-714, 719-732, 735-752, 762-769, 773, 777, 783, 786-788, 792, 796, 800-803, 807, 811, 815-818, 827, 831, 836-867, 872-892, 896-897, 901, 905, 909, 913-942, 946, 950-957, 961, 965, 969, 973, 977, 981, 985, 989, 993, 997, 1001, 1006, 1010-1011, 1015-1016, 1020, 1024, 1028, 1054-1058, 1062-1066, 1070, 1074, 1078, 1082-1086, 1090, 1094, 1098-1106, 1110-1124, 1132, 1136, 1140-1143, 1147, 1151, 1172-1183, 1187-1191, 1235-1236, 1240-1243, 1247-1250, 1254-1257\r\nseed/data_importer/views                       71     27    62%   61-85, 100-101, 110-113, 198-202, 243-250\r\nseed/decorators                                56      2    96%   98-99\r\nseed/filters                                   20      2    90%   50, 52\r\nseed/landing/models                            47      8    83%   12-14, 85, 91-92, 96, 102\r\nseed/landing/views                             48     14    71%   27-30, 79-84, 92, 102, 113, 120, 131\r\nseed/lib/exporter                             119     12    90%   42, 67, 73-74, 99, 168, 179-180, 195-196, 261, 271\r\nseed/lib/mcm/cleaners                          61      7    89%   63, 67-73, 88\r\nseed/lib/mcm/mapper                            83      3    96%   80-83, 130\r\nseed/lib/mcm/reader                           144     20    86%   82, 94-95, 212-214, 292, 310-313, 323, 344-355\r\nseed/lib/mcm/utils                             15      4    73%   28-29, 34-35\r\nseed/lib/superperms/orgs/decorators            80      9    89%   39, 77, 90-100, 116\r\nseed/managers/json                             64      4    94%   44-45, 158-159\r\nseed/mappings/mapper                           80      2    98%   28, 149\r\nseed/models                                   605     22    96%   213, 262, 336, 404-408, 416-424, 641, 728-731, 734, 760, 822, 852, 1418, 1486\r\nseed/search                                   287     39    86%   29, 57, 60-63, 113, 138-142, 205-206, 211, 222-223, 231-234, 283-285, 287-289, 291-293, 327-328, 370, 374, 475, 481, 507, 561, 586-590\r\nseed/serializers/celery                        18      9    50%   15-21, 25-28, 33, 38\r\nseed/tasks                                    665     89    87%   109-110, 151-152, 236-239, 244-250, 321-333, 402, 550-557, 593, 644, 762-784, 806-811, 814, 840-841, 845-860, 888, 904-934, 951, 959-962, 1005, 1072-1073, 1218-1220, 1253, 1256, 1258, 1374, 1377, 1492-1498\r\nseed/utils/api                                 64      3    95%   120, 130-131\r\nseed/utils/buildings                           80     17    79%   29-41, 64, 68, 76, 162, 176-177\r\nseed/utils/cache                               58     12    79%   31, 61-67, 72-76, 81\r\nseed/utils/generic                             19      7    63%   32-37, 41\r\nseed/utils/mapping                             20      1    95%   47\r\nseed/utils/projects                            57      9    84%   25-28, 38, 162-163, 194-195\r\nseed/utils/time                                18      5    72%   15-16, 23, 31, 33\r\nseed/views/accounts                           410     43    90%   198, 242, 249-250, 263, 345, 351-352, 372, 468-474, 552-553, 579-583, 621, 734-738, 837-839, 877, 928-932, 982, 988-989, 994, 1074-1075, 1110-1111, 1125-1127, 1140\r\nseed/views/labels                              50     13    74%   80-87, 113-135\r\nseed/views/main                               851    214    75%   87, 132-134, 138-139, 204, 208-209, 259, 272-292, 386-449, 460-462, 547, 742, 800, 820-829, 855-856, 1127, 1129, 1132-1135, 1294-1298, 1325, 1343, 1442, 1455, 1531, 1540-1547, 1598, 1601, 1608-1609, 1674, 1733, 1741-1743, 1747, 1791, 1833, 1892, 1993, 2020-2025, 2055, 2082-2087, 2116, 2187-2188, 2342, 2347-2351, 2459, 2467-2520, 2528-2560, 2687, 2697-2701, 2710, 2715-2719, 2740-2745, 2748-2755, 2892, 2901-2905, 2917, 2924-2928, 2935-2936, 2942, 2947-3035\r\nseed/views/meters                              57      3    95%   116, 156-157\r\nseed/views/projects                           171     44    74%   91-93, 109-114, 161-165, 245, 256, 268-272, 401-410, 413-414, 450-460, 520-529\r\n-------------------------------------------------------------------------\r\nTOTAL                                        5941   1126    81%\r\n```"}}